- Timestamp:
- Aug 24, 2010, 9:23:08 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/CMakeLists.txt
r106 r120 35 35 36 36 37 # Get requi ered packages37 # Get required packages 38 38 IF(DESTINATION_ARCH STREQUAL "x64") 39 39 SET(OSG_ROOT_BKP $ENV{OSG_ROOT}) # BACKUP old OSG_ROOT … … 42 42 43 43 SET(OpenSceneGraph_MARK_AS_ADVANCED ON) 44 FIND_PACKAGE(OpenSceneGraph 2.9. 8REQUIRED osgViewer OpenThreads osgDB osgTerrain osgGA osgText osgSim osgUtil)44 FIND_PACKAGE(OpenSceneGraph 2.9.9 REQUIRED osgViewer OpenThreads osgDB osgTerrain osgGA osgText osgSim osgUtil) 45 45 FIND_PACKAGE(OpenGL REQUIRED) 46 47 46 48 47 … … 52 51 ENDIF () 53 52 54 55 56 # Module sky-silverlining - At the moment only for Win32, will be opened to Unix ASAP 53 # LIBXML2 54 SET(LIBXML2_LIBRARY ../../OpenSceneGraph/3rdParty_x86_x64/${DESTINATION_ARCH}/lib/libxml2 CACHE FILEPATH "Select the libxml2 library to link osgVisual against. REQUIRED!" ) 55 SET(LIBXML2_INCLUDE ../../OpenSceneGraph/3rdParty_x86_x64/${DESTINATION_ARCH}/include CACHE PATH "Select the libxml2 include path to link osgVisual against. REQUIRED!" ) 56 INCLUDE_DIRECTORIES( ${LIBXML2_INCLUDE} ) 57 58 # Module sky-silverlining 57 59 # OPTION( OPTION_VAR "description string" [initial value] ) 58 60 IF ( WIN32 ) … … 97 99 ENDIF(WIN32) 98 100 IF(UNIX) 99 100 101 SET(USE_SKY_SILVERLINING ON CACHE BOOL "Enable to use Sundog-soft's Silverlining SDK for sky & weather") 101 102 IF(USE_SKY_SILVERLINING ) … … 349 350 350 351 # Linking 351 TARGET_LINK_LIBRARIES(osgVisual ${OPENSCENEGRAPH_LIBRARIES} ${OPENGL_LIBRARIES} )352 TARGET_LINK_LIBRARIES(osgVisual ${OPENSCENEGRAPH_LIBRARIES} ${OPENGL_LIBRARIES} ${LIBXML2_LIBRARY}) 352 353 353 354
Note: See TracChangeset
for help on using the changeset viewer.