Show
Ignore:
Timestamp:
11/17/09 13:55:52 (4 years ago)
Author:
robert
Message:

Added OSG_CPP_EXCEPTIONS_AVAILABLE cmake option to enable optional build of plugins and examples that required C++ exceptions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/png/CMakeLists.txt

    r9998 r10763  
    11INCLUDE_DIRECTORIES( ${PNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ) 
    22 
     3IF(OSG_CPP_EXCEPTIONS_AVAILABLE) 
     4    ADD_DEFINITIONS(-DOSG_CPP_EXCEPTIONS_AVAILABLE) 
     5ENDIF() 
    36 
    47SET(TARGET_SRC ReaderWriterPNG.cpp ) 
    58SET(TARGET_LIBRARIES_VARS PNG_LIBRARY ZLIB_LIBRARY ) 
     9 
     10 
    611#### end var setup  ### 
    712SETUP_PLUGIN(png)