Skip to content

Commit

Permalink
Use CMake vars
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Jul 5, 2011
1 parent 6cf00e7 commit 6b84c44
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/plugins/globe/CMakeLists.txt
Expand Up @@ -42,24 +42,23 @@ ADD_LIBRARY (globeplugin MODULE ${globe_plugin_SRCS} ${globe_plugin_MOC_SRCS} ${

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
${OSGEARTH_INCLUDE_DIR}
../../core ../../core/raster ../../core/renderer ../../core/symbology
../../gui
..
)

# SET(TARGET_LIBRARIES_VARS OSG_LIBRARY OSGDB_LIBRARY OSGUTIL_LIBRARY OSGVIEWER_LIBRARY OPENTHREADS_LIBRARY)

TARGET_LINK_LIBRARIES(globeplugin
qgis_core
qgis_gui
QtOpenGL
osgDB
osgGA
osg
osgViewer
osgEarth
osgEarthFeatures
osgEarthUtil
${OSGDB_LIBRARY}
${OSGGA_LIBRARY}
${OSG_LIBRARY}
${OSGVIEWER_LIBRARY}
${OSGEARTH_LIBRARY}
${OSGEARTHFEATURES_LIBRARY}
${OSGEARTHUTIL_LIBRARY}
${OPENTHREADS_LIBRARY}
)

Expand Down

0 comments on commit 6b84c44

Please sign in to comment.