Changeset 100


Ignore:
Timestamp:
Jul 29, 2010, 9:23:17 PM (14 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/CMakeLists.txt

    r88 r100  
    9595        ENDIF(USE_SKY_SILVERLINING)
    9696ENDIF(WIN32)
    97 IF(CMAKE_COMPILER_IS_GNUCC)
     97IF(UNIX)
    9898       
    9999        SET(USE_SKY_SILVERLINING ON CACHE BOOL "Enable to use Sundog-soft's Silverlining SDK for sky & weather")
     
    348348
    349349# Linking
    350 TARGET_LINK_LIBRARIES(osgVisual ${OPENSCENEGRAPH_LIBRARIES} "OpenGL32.lib")
     350#IF(WIN32)
     351#       TARGET_LINK_LIBRARIES(osgVisual ${OPENSCENEGRAPH_LIBRARIES} "OpenGL32.lib")
     352#ENDIF(WIN32)
     353#IF(UNIX)
     354#       TARGET_LINK_LIBRARIES(osgVisual ${OPENSCENEGRAPH_LIBRARIES} "libGL.so")
     355#ENDIF(UNIX)
     356TARGET_LINK_LIBRARIES(osgVisual ${OPENSCENEGRAPH_LIBRARIES} ${OPENGL_LIBRARIES})
     357
     358
    351359IF(USE_SKY_SILVERLINING )
    352360        TARGET_LINK_LIBRARIES(osgVisual "winmm.lib" debug ${SILVERLINING_LIBRARY_DEBUG} optimized ${SILVERLINING_LIBRARY_RELEASE})
Note: See TracChangeset for help on using the changeset viewer.