Skip to content
Permalink
Browse files

Use CMake vars

  • Loading branch information
pka committed Jul 5, 2011
1 parent 6cf00e7 commit 6b84c44403ae6e0a3e01cdb2ccb554633d6a8ef4
Showing with 8 additions and 9 deletions.
  1. +8 −9 src/plugins/globe/CMakeLists.txt
@@ -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}
)

0 comments on commit 6b84c44

Please sign in to comment.
You can’t perform that action at this time.