Skip to content

Commit

Permalink
[qt5] Use Qt5OpenGL when globe is built
Browse files Browse the repository at this point in the history
Resolves #1940
  • Loading branch information
m-kuhn committed Dec 15, 2015
1 parent 9972152 commit 695689b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/globe/CMakeLists.txt
Expand Up @@ -4,6 +4,9 @@ SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules ${CMAKE_MODULE_PA
FIND_PACKAGE(OSG REQUIRED)
FIND_PACKAGE(OSGEARTH REQUIRED)
FIND_PACKAGE(Threads)
IF(QT5_BUILD)
FIND_PACKAGE(Qt5OpenGL REQUIRED)
ENDIF(QT5_BUILD)

IF(HAVE_OSGEARTH_CHILD_SPACING)
ADD_DEFINITIONS(-DHAVE_OSGEARTH_CHILD_SPACING)
Expand Down

0 comments on commit 695689b

Please sign in to comment.