Show
Ignore:
Timestamp:
03/23/09 17:01:02 (6 years ago)
Author:
robert
Message:

From Philip Lowman, "Here's the promised cleanup of the OSG's CMakeLists.txt files for the src/ folder. I'll submit the others separately.

Also, there was also a small bug in osgDB's CMakeLists.txt that was causing an error when I tested with CMake 2.4.4.

IF(${OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX} STREQUAL "quicktime")
was changed to
IF(OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX STREQUAL "quicktime")
"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osg/CMakeLists.txt

    r9827 r9949  
    11 
    22# FIXME: For OS X, need flag for Framework or dylib 
    3 IF   (DYNAMIC_OPENSCENEGRAPH) 
     3IF(DYNAMIC_OPENSCENEGRAPH) 
    44    ADD_DEFINITIONS(-DOSG_LIBRARY) 
    5 ELSE (DYNAMIC_OPENSCENEGRAPH) 
     5ELSE() 
    66    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC) 
    7 ENDIF(DYNAMIC_OPENSCENEGRAPH) 
     7ENDIF() 
    88 
    99SET(LIB_NAME osg) 
     
    1616IF(OSG_FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL) 
    1717    ADD_DEFINITIONS(-DFORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL) 
    18 ENDIF(OSG_FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL) 
     18ENDIF() 
    1919 
    2020