Skip to content

Commit 6b84c44

Browse files
committedJul 5, 2011
Use CMake vars
1 parent 6cf00e7 commit 6b84c44

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed
 

‎src/plugins/globe/CMakeLists.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,24 +42,23 @@ ADD_LIBRARY (globeplugin MODULE ${globe_plugin_SRCS} ${globe_plugin_MOC_SRCS} ${
4242

4343
INCLUDE_DIRECTORIES(
4444
${CMAKE_CURRENT_BINARY_DIR}
45+
${OSGEARTH_INCLUDE_DIR}
4546
../../core ../../core/raster ../../core/renderer ../../core/symbology
4647
../../gui
4748
..
4849
)
4950

50-
# SET(TARGET_LIBRARIES_VARS OSG_LIBRARY OSGDB_LIBRARY OSGUTIL_LIBRARY OSGVIEWER_LIBRARY OPENTHREADS_LIBRARY)
51-
5251
TARGET_LINK_LIBRARIES(globeplugin
5352
qgis_core
5453
qgis_gui
5554
QtOpenGL
56-
osgDB
57-
osgGA
58-
osg
59-
osgViewer
60-
osgEarth
61-
osgEarthFeatures
62-
osgEarthUtil
55+
${OSGDB_LIBRARY}
56+
${OSGGA_LIBRARY}
57+
${OSG_LIBRARY}
58+
${OSGVIEWER_LIBRARY}
59+
${OSGEARTH_LIBRARY}
60+
${OSGEARTHFEATURES_LIBRARY}
61+
${OSGEARTHUTIL_LIBRARY}
6362
${OPENTHREADS_LIBRARY}
6463
)
6564

0 commit comments

Comments
 (0)
Please sign in to comment.