[osg-users] CMake problem
PCJohn
peciva at fit.vutbr.cz
Tue Sep 11 22:46:12 PDT 2007
INCLUDE_DIRECTORIES( ${INVENTOR_INCLUDE_DIR} ) seems to fix include
problem, anyway INVENTOR_LIBRARY_DEBUG, although defined, is not used
for debug linking - as a result, debug build is broken while release
seems ok.
I think, something is broken in the general OSG scripts related to
*_DEBUG variables.
John
PCJohn napsal(a):
> Hi,
>
> this is probably question on Luigi:
>
> Inventor plugin CMakeLists.txt stopped working - it is neither including
> necessary includes correctly detected by FindInventor.cmake, nor linking
> libraries correctly detected in the same way. Therefore, the plugin not
> compiles.
>
> Do you see any problem in the file?
> (inlining it for your convenience)
>
>
> INCLUDE(OsgMacroUtils)
>
> SET(TARGET_SRC
> [...]
> )
> SET(TARGET_HDRS
> [...]
> )
>
> ADD_DEFINITIONS(-DCOIN_DLL)
>
> SET(TARGET_EXTERNAL_LIBRARIES ${INVENTOR_LIBRARY} )
>
> SETUP_PLUGIN(iv)
>
>
> Many thanks,
> John
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list