vcpkg/ports/qt-advanced-docking-system/qt.patch
Alexander Neumann d7787aa89b
[qt-advanced-docking-system] Upgrade to Qt6 (#27464)
* update port

* format-manifest

* version stuff

* version stuff

* fix arm windows

* version stuff

* v db
2022-10-26 11:00:59 -07:00

12 lines
498 B
Diff

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 653546544..2091bce16 100644
--- 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)
find_package(Qt${QT_VERSION_MAJOR} 5.5 COMPONENTS Core Gui Widgets REQUIRED)
if (UNIX AND NOT APPLE)
include_directories(${Qt${QT_VERSION_MAJOR}Gui_PRIVATE_INCLUDE_DIRS})