Changeset 120


Ignore:
Timestamp:
Aug 24, 2010, 9:23:08 PM (14 years ago)
Author:
Torben Dannhauer
Message:

Added dynamic channel processing on the extLinkVCL Mpdule. Added libxml2 to CMakeLists.txt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/CMakeLists.txt

    r106 r120  
    3535
    3636
    37 # Get requiered packages
     37# Get required packages
    3838IF(DESTINATION_ARCH STREQUAL "x64")
    3939        SET(OSG_ROOT_BKP $ENV{OSG_ROOT})        # BACKUP old OSG_ROOT
     
    4242
    4343SET(OpenSceneGraph_MARK_AS_ADVANCED ON)
    44 FIND_PACKAGE(OpenSceneGraph 2.9.8 REQUIRED osgViewer OpenThreads osgDB osgTerrain osgGA osgText osgSim osgUtil)
     44FIND_PACKAGE(OpenSceneGraph 2.9.9 REQUIRED osgViewer OpenThreads osgDB osgTerrain osgGA osgText osgSim osgUtil)
    4545FIND_PACKAGE(OpenGL REQUIRED)
    46 
    4746
    4847
     
    5251ENDIF ()
    5352
    54 
    55 
    56 # Module sky-silverlining - At the moment only for Win32, will be opened to Unix ASAP
     53# LIBXML2
     54SET(LIBXML2_LIBRARY ../../OpenSceneGraph/3rdParty_x86_x64/${DESTINATION_ARCH}/lib/libxml2 CACHE FILEPATH "Select the libxml2 library to link osgVisual against. REQUIRED!" )
     55SET(LIBXML2_INCLUDE ../../OpenSceneGraph/3rdParty_x86_x64/${DESTINATION_ARCH}/include CACHE PATH "Select the libxml2 include path to link osgVisual against. REQUIRED!" )
     56INCLUDE_DIRECTORIES( ${LIBXML2_INCLUDE} )       
     57
     58# Module sky-silverlining
    5759# OPTION( OPTION_VAR "description string" [initial value] )
    5860IF ( WIN32 )
     
    9799ENDIF(WIN32)
    98100IF(UNIX)
    99        
    100101        SET(USE_SKY_SILVERLINING ON CACHE BOOL "Enable to use Sundog-soft's Silverlining SDK for sky & weather")
    101102        IF(USE_SKY_SILVERLINING )
     
    349350
    350351# Linking
    351 TARGET_LINK_LIBRARIES(osgVisual ${OPENSCENEGRAPH_LIBRARIES} ${OPENGL_LIBRARIES})
     352TARGET_LINK_LIBRARIES(osgVisual ${OPENSCENEGRAPH_LIBRARIES} ${OPENGL_LIBRARIES} ${LIBXML2_LIBRARY})
    352353
    353354
Note: See TracChangeset for help on using the changeset viewer.