2022-10-27 02:00:59 +08:00
|
|
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
2023-05-14 00:39:45 +08:00
|
|
|
index 2ec56aa..054ea73 100644
|
2022-10-27 02:00:59 +08:00
|
|
|
--- a/src/CMakeLists.txt
|
|
|
|
+++ b/src/CMakeLists.txt
|
|
|
|
@@ -1,6 +1,5 @@
|
|
|
|
cmake_minimum_required(VERSION 3.5)
|
|
|
|
project(QtAdvancedDockingSystem LANGUAGES CXX VERSION ${VERSION_SHORT})
|
|
|
|
-find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
|
2023-05-14 00:39:45 +08:00
|
|
|
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Gui Widgets REQUIRED)
|
2022-10-27 02:00:59 +08:00
|
|
|
if (UNIX AND NOT APPLE)
|
|
|
|
include_directories(${Qt${QT_VERSION_MAJOR}Gui_PRIVATE_INCLUDE_DIRS})
|