diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-06-12 14:12:57 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-06-13 16:38:19 +0200 |
commit | 0f2710a9f8ca48eea36c2cf5fc4abfdfaa492bb4 (patch) | |
tree | eaafa2e8b0308f1cc95faf94cca2c086b981af21 /sources | |
parent | f4d844278b5a41f04bbce0669319279cf19a799e (diff) |
Task-number: PYSIDE-3105
Change-Id: I2d1adb0b7b819caab09e72e382a9dc0f964fa14d
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources')
-rw-r--r-- | sources/pyside6/cmake/PySideSetup.cmake | 1 | ||||
-rw-r--r-- | sources/shiboken6/tests/CMakeLists.txt | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sources/pyside6/cmake/PySideSetup.cmake b/sources/pyside6/cmake/PySideSetup.cmake index 45a63a1a0..a3bc1c738 100644 --- a/sources/pyside6/cmake/PySideSetup.cmake +++ b/sources/pyside6/cmake/PySideSetup.cmake @@ -246,6 +246,7 @@ ENDIF() set(GENERATOR_EXTRA_FLAGS ${SHIBOKEN_GENERATOR_EXTRA_FLAGS} ${debug_level} + "--platform=${CMAKE_SYSTEM_NAME}" ${UNOPTIMIZE} --generator-set=shiboken --enable-parent-ctor-heuristic diff --git a/sources/shiboken6/tests/CMakeLists.txt b/sources/shiboken6/tests/CMakeLists.txt index 05f6e9e60..37b80238f 100644 --- a/sources/shiboken6/tests/CMakeLists.txt +++ b/sources/shiboken6/tests/CMakeLists.txt @@ -23,7 +23,8 @@ else() message(STATUS "Tests will be generated using the protected hack!") set(GENERATOR_EXTRA_FLAGS ) endif() -list(APPEND GENERATOR_EXTRA_FLAGS ${SHIBOKEN_GENERATOR_EXTRA_FLAGS} ${debug_level}) +list(APPEND GENERATOR_EXTRA_FLAGS ${SHIBOKEN_GENERATOR_EXTRA_FLAGS} ${debug_level} + "--platform=${CMAKE_SYSTEM_NAME}") add_subdirectory(minimalbinding) if(NOT DEFINED MINIMAL_TESTS) |