Show
Ignore:
Timestamp:
06/20/08 21:52:14 (4 years ago)
Author:
robert
Message:

Changed the include/osg/Config and include/OpenThreads/Config references to use the assocaited CMake variable for these headers

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/CMakeLists.txt

    r8477 r8482  
    194194OPTION(OSG_USE_FLOAT_BOUNDINGBOX "Set to ON to build OpenSceneGraph with float BoundingBox instead of double." ON) 
    195195MARK_AS_ADVANCED(OSG_USE_FLOAT_BOUNDINGBOX) 
     196 
     197 
     198################################################################################ 
     199# Set Config file 
     200 
     201SET(OPENSCENEGRAPH_CONFIG_HEADER "${PROJECT_BINARY_DIR}/include/osg/Config") 
     202CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/src/osg/Config.in" 
     203               "${OPENSCENEGRAPH_CONFIG_HEADER}") 
     204INSTALL_FILES(/include/osg/ FILES "${OPENSCENEGRAPH_CONFIG_HEADER}") 
     205 
    196206 
    197207################################################################################ 
     
    585595ENDIF(BUILD_DOCUMENTATION) 
    586596 
    587 SET(OPENSCENEGRAPH_CONFIG_HEADER "${PROJECT_BINARY_DIR}/include/osg/Config") 
    588 CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/src/osg/Config.in" 
    589                "${OPENSCENEGRAPH_CONFIG_HEADER}") 
    590 INSTALL_FILES(/include/osg/ FILES "${OPENSCENEGRAPH_CONFIG_HEADER}") 
    591  
    592597# This needs to be run very last so other parts of the scripts can take 
    593598# advantage of this.