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.
1 parent fe52373 commit 740316bCopy full SHA for 740316b
rviz_imu_plugin/CMakeLists.txt
@@ -14,9 +14,7 @@ if(rviz_QT_VERSION VERSION_LESS "5")
14
include(${QT_USE_FILE})
15
else()
16
message(STATUS "Using Qt5 based on the rviz_QT_VERSION: ${rviz_QT_VERSION}")
17
- find_package(Qt5Widgets REQUIRED)
18
- find_package(Qt5Core REQUIRED)
19
- find_package(Qt5OpenGL REQUIRED)
+ find_package(Qt5 ${rviz_QT_VERSION} REQUIRED Core Widgets)
20
## Set the QT_LIBRARIES variable for Qt5, so it can be used below.
21
set(QT_LIBRARIES Qt5::Widgets)
22
endif()
0 commit comments