summaryrefslogtreecommitdiffstats
path: root/cmake/QtSetup.cmake
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-09-26 17:58:53 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-09-27 08:42:18 +0000
commit981cfe7d79b906090fb20558a6f11bc2224640ed (patch)
tree58eea4cd3ab35e77468003262a74c250367622e5 /cmake/QtSetup.cmake
parent992fe06b30337442b96e5f8b6553e518fedcd372 (diff)
Include QtPlatformSupport as part of find_package(Qt6BuildInternals)
This is needed because the ported over requires() clauses from qmake to CMake are executed before qt_repo_build(), which means that all the custom platform variables that we set (like LINUX, APPLE_OSX) need to be available immediately after finding BuildInternals. Change-Id: I7345b69edf72c266508846766e64f42c99862d1d Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'cmake/QtSetup.cmake')
-rw-r--r--cmake/QtSetup.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmake/QtSetup.cmake b/cmake/QtSetup.cmake
index 9095db4751..16fd9b7520 100644
--- a/cmake/QtSetup.cmake
+++ b/cmake/QtSetup.cmake
@@ -90,9 +90,6 @@ enable_testing()
# Set up building of examples.
option(BUILD_EXAMPLES "Build Qt examples" ON)
-## Define some constants to check for certain platforms, etc:
-include(QtPlatformSupport)
-
## Android platform settings
if(ANDROID)
include(QtPlatformAndroid)