aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/cmake/PySideSetup.cmake
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2025-06-12 14:36:11 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2025-06-18 14:54:34 +0200
commit374bd2bde5f79e7c0fd2fc990f670f143d31c120 (patch)
treed410da85ed55d705ed21ddbdf7fa7bb096ec2754 /sources/pyside6/cmake/PySideSetup.cmake
parent194608527a0e4168f5c4cee235330c684c556ea8 (diff)
Remove hard-coded Q_OS_ defines from the CMake files
The hard-coded ENABLE_ and Q_OS_ do not work for cross-compiling. They are in fact a left-over from the pre-clang code parser. Clang is actually able to set the right defines when parsing qsystemdetection.h if the correct target is set. pyside6_global.h then no longer needs to be configured by CMake. Task-number: PYSIDE-3105 Change-Id: I640ab9e254b9ba35d5b7194001f5700911a8d421 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/cmake/PySideSetup.cmake')
-rw-r--r--sources/pyside6/cmake/PySideSetup.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/sources/pyside6/cmake/PySideSetup.cmake b/sources/pyside6/cmake/PySideSetup.cmake
index a3bc1c738..370eccdf1 100644
--- a/sources/pyside6/cmake/PySideSetup.cmake
+++ b/sources/pyside6/cmake/PySideSetup.cmake
@@ -216,9 +216,6 @@ endif()
# no more supported: include(${QT_USE_FILE})
-# Configure OS support
-check_os()
-
# Define supported Qt Version
set(SUPPORTED_QT_VERSION "${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH}")