Hi Robert,
I've found a minor bug in the cmake script of src/osgPresentation when
testing the osgIntrospection project. It missed the Export header file and
thus will not install this file while 'make install'. Add a line to the
LIB_PUBLIC_HEADERS variable will fix the issue.
Cheers,
Wang Rui
IF(DYNAMIC_OPENSCENEGRAPH)
ADD_DEFINITIONS(-DOSGPRESENTATION_LIBRARY)
ELSE()
ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
ENDIF()
SET(LIB_NAME osgPresentation)
SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
SET(LIB_PUBLIC_HEADERS
${HEADER_PATH}/Export
${HEADER_PATH}/AnimationMaterial
${HEADER_PATH}/CompileSlideCallback
${HEADER_PATH}/PickEventHandler
${HEADER_PATH}/SlideEventHandler
${HEADER_PATH}/SlideShowConstructor
)
# FIXME: For OS X, need flag for Framework or dylib
ADD_LIBRARY(${LIB_NAME}
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
${LIB_PUBLIC_HEADERS}
AnimationMaterial.cpp
CompileSlideCallback.cpp
PickEventHandler.cpp
SlideEventHandler.cpp
SlideShowConstructor.cpp
${OPENSCENEGRAPH_VERSIONINFO_RC}
)
LINK_INTERNAL(${LIB_NAME}
osgViewer
osgManipulator
osgVolume
osgFX
osgText
osgGA
osgUtil
osgDB
osg
OpenThreads
)
LINK_CORELIB_DEFAULT(${LIB_NAME})
INCLUDE(ModuleInstall OPTIONAL)
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org