summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-qt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-qt.cmake')
-rw-r--r--cmake/opentrack-qt.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/opentrack-qt.cmake b/cmake/opentrack-qt.cmake
index 8f6dc70e..51d48595 100644
--- a/cmake/opentrack-qt.cmake
+++ b/cmake/opentrack-qt.cmake
@@ -1,7 +1,7 @@
include_guard(GLOBAL)
-set(qt-required-components Core Network Widgets LinguistTools Gui Core5Compat)
+set(qt-required-components Core Network Widgets LinguistTools Gui)
set(qt-optional-components SerialPort)
-set(qt-imported-targets Qt6::Core Qt6::Gui Qt6::Network Qt6::Widgets Qt6::Core5Compat)
+set(qt-imported-targets Qt6::Core Qt6::Gui Qt6::Network Qt6::Widgets)
if(APPLE)
list(APPEND qt-required-components "DBus")
list(APPEND qt-optional-components "Multimedia")
@@ -14,7 +14,7 @@ if(WIN32)
find_package(Qt6Gui REQUIRED COMPONENTS QWindowsIntegrationPlugin)
endif()
-set(MY_QT_LIBS ${Qt6Core_LIBRARIES} ${Qt6Gui_LIBRARIES} ${Qt6Widgets_LIBRARIES} ${Qt6Network_LIBRARIES} ${Qt6Core5Compat_LIBRARIES})
+set(MY_QT_LIBS ${Qt6Core_LIBRARIES} ${Qt6Gui_LIBRARIES} ${Qt6Widgets_LIBRARIES} ${Qt6Network_LIBRARIES})
if(APPLE)
list(APPEND MY_QT_LIBS ${Qt6Multimedia_LIBRARIES} ${Qt6DBus_LIBRARIES})
endif()