Show
Ignore:
Timestamp:
02/11/09 18:21:36 (6 years ago)
Author:
robert
Message:

Disabled the use of aggressive warnings under OSX as the default.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/CMakeLists.txt

    r9757 r9770  
    579579# This will only be made available if we set values for OSG_AGGRESSIVE_WARNING_FLAGS. 
    580580IF(OSG_AGGRESSIVE_WARNING_FLAGS) 
    581     OPTION(OSG_USE_AGGRESSIVE_WARNINGS "Enable to activate aggressive warnings" ON) 
     581 
     582    IF (APPLE) 
     583        SET(DEFAULT_USE_AGGRESSIVE_WARNINGS OFF) 
     584    ELSE(APPLE) 
     585        SET(DEFAULT_USE_AGGRESSIVE_WARNINGS ON) 
     586    ENDIF(APPLE) 
     587 
     588    OPTION(OSG_USE_AGGRESSIVE_WARNINGS "Enable to activate aggressive warnings" ${DEFAULT_USE_AGGRESSIVE_WARNINGS}) 
    582589    MARK_AS_ADVANCED(OSG_USE_AGGRESSIVE_WARNINGS) 
    583590