https://bugzilla.rpmfusion.org/show_bug.cgi?id=2150
--- Comment #11 from Richard <hobbes1069(a)gmail.com> 2012-02-08 18:05:17 CET ---
(In reply to comment #10)
Note: Probably didn't do the proper thing of finding the lib3ds
the CMake way.
Got lucky with the way lib3ds is packaged and included in GEOM source, so the
BuildRequires suffices, hope that's ok for now.
I can help there. It looks like lib3ds-devel provides a pkgconf config file so
something like this should work:
INCLUDE(FindPkgConfig)
IF(USE_EXTERNAL_LIB3DS)
# The last argument may need to be lib3ds depending on the pkgconf
config.
PKG_CHECK_MODULES(LIB3DS REQUIRED 3ds)
INCLUDE_DIRECTORIES(SYSTEM ${LIB3DS_INCLUDE_DIRS})
ENDIF()
---
And then the following:
TARGET_LINK_LIBRARIES(Exchange3DS TKernel TKBRep TKMath TKMesh TKV3d TKTopAlgo
3ds)
would become:
TARGET_LINK_LIBRARIES(Exchange3DS TKernel TKBRep TKMath TKMesh TKV3d TKTopAlgo
${LIB3DS_LIBRARIES})
---
Also, if you use the "option" as shown above you'll need to add that to you
cmake options:
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DUSE_EXTERNAL_LIB3DS=TRUE \
..
---
--
Configure bugmail:
https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.