We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3849b5a + 91ba61f commit d9a9a14Copy full SHA for d9a9a14
CMakeLists.txt
@@ -487,6 +487,7 @@ ENDIF()
487
488
#If we have found Qt5, let's try to top off by getting the webkit as well
489
IF ( Qt5Widgets_FOUND )
490
+ FIND_PACKAGE(Qt5OpenGL REQUIRED)
491
FIND_PACKAGE(Qt5WebKitWidgets QUIET)
492
493
IF(COMMAND cmake_policy)
src/osgQt/CMakeLists.txt
@@ -85,5 +85,5 @@ ENDIF( QT4_FOUND )
85
SETUP_LIBRARY(${LIB_NAME})
86
87
88
- qt5_use_modules( ${LIB_NAME} Widgets OpenGL )
+ TARGET_LINK_LIBRARIES( ${LIB_NAME} Qt5::Widgets Qt5::OpenGL )
89
ENDIF ( Qt5Widgets_FOUND )
0 commit comments