diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ivivehiclefunctions/climate_widget/CMakeLists.txt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/examples/ivivehiclefunctions/climate_widget/CMakeLists.txt b/examples/ivivehiclefunctions/climate_widget/CMakeLists.txt index 0e1e124..472237a 100644 --- a/examples/ivivehiclefunctions/climate_widget/CMakeLists.txt +++ b/examples/ivivehiclefunctions/climate_widget/CMakeLists.txt @@ -17,6 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivivehiclefunctions/climate_widge find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Widgets) find_package(Qt6 COMPONENTS IviCore) find_package(Qt6 COMPONENTS IviVehicleFunctions) @@ -31,16 +32,11 @@ set_target_properties(climate_widget PROPERTIES target_link_libraries(climate_widget PUBLIC Qt::Core Qt::Gui + Qt::Widgets Qt::IviCore Qt::IviVehicleFunctions ) -if((QT_MAJOR_VERSION GREATER 4)) - target_link_libraries(climate_widget PUBLIC - Qt::Widgets - ) -endif() - install(TARGETS climate_widget RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" |