https://bugzilla.rpmfusion.org/show_bug.cgi?id=2098
--- Comment #45 from Alec Leamas <leamas.alec(a)gmail.com> 2012-04-05 08:16:51 CEST
---
Richard is the cmake guru here, it seems. In one of the rpmfusion bugs (lost
which one) you can find:
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.
You are the assignee for the bug.