Skip to content

Commit ef256aa

Browse files
sebasticm-kuhn
authored andcommittedMar 12, 2016
Add Qt5OpenGL variables to include_directories() & target_link_libraries().
1 parent 25932aa commit ef256aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/plugins/globe/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ QT4_ADD_RESOURCES(globe_plugin_RCC_SRCS ${globe_plugin_RCCS})
5555
ADD_LIBRARY (globeplugin MODULE ${globe_plugin_SRCS} ${globe_plugin_MOC_SRCS} ${globe_plugin_RCC_SRCS} ${globe_plugin_UIS_H})
5656

5757
INCLUDE_DIRECTORIES(SYSTEM
58+
${Qt5OpenGL_INCLUDE_DIRS}
5859
${OSGEARTH_INCLUDE_DIR}
5960
${OSG_INCLUDE_DIR}
6061
${GEOS_INCLUDE_DIR}
@@ -82,6 +83,7 @@ TARGET_LINK_LIBRARIES(globeplugin
8283
qgis_core
8384
qgis_gui
8485
${QT_QTOPENGL_LIBRARY}
86+
${Qt5OpenGL_LIBRARIES}
8587
${OSGDB_LIBRARY}
8688
${OSGGA_LIBRARY}
8789
${OSGUTIL_LIBRARY}

0 commit comments

Comments
 (0)
Please sign in to comment.