aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6')
-rw-r--r--sources/pyside6/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/CMakeLists.txt b/sources/pyside6/CMakeLists.txt
index 3b92ff7d6..6f010d55b 100644
--- a/sources/pyside6/CMakeLists.txt
+++ b/sources/pyside6/CMakeLists.txt
@@ -36,6 +36,8 @@ if (QUIET_BUILD AND is_pyside6_superproject_build)
endfunction()
endif()
+find_package(Shiboken6 2.0.0 REQUIRED)
+
set(PYSIDE_VERSION_FILE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/pyside_version.py")
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS
${PYSIDE_VERSION_FILE_PATH}
@@ -63,8 +65,6 @@ else()
set(PATH_SEP ":")
endif()
-find_package(Shiboken6 2.0.0 REQUIRED)
-
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "${SHIBOKEN_BUILD_TYPE}" CACHE STRING "Build Type")
endif()