fix-build.patch 728 B

123456789101112131415
  1. diff --git a/sources/pyside6/qtexampleicons/CMakeLists.txt b/sources/pyside6/qtexampleicons/CMakeLists.txt
  2. index 1562f7b27..58ecc7c17 100644
  3. --- a/sources/pyside6/qtexampleicons/CMakeLists.txt
  4. +++ b/sources/pyside6/qtexampleicons/CMakeLists.txt
  5. @@ -32,6 +32,9 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
  6. target_compile_definitions(QtExampleIcons PRIVATE "-DNDEBUG")
  7. endif()
  8. +get_property(SHIBOKEN_PYTHON_LIBRARIES GLOBAL PROPERTY shiboken_python_libraries)
  9. +get_property(SHIBOKEN_PYTHON_INCLUDE_DIRS GLOBAL PROPERTY shiboken_python_include_dirs)
  10. +
  11. target_include_directories(QtExampleIcons PRIVATE ${SHIBOKEN_PYTHON_INCLUDE_DIRS})
  12. get_property(SHIBOKEN_PYTHON_LIBRARIES GLOBAL PROPERTY shiboken_python_libraries)