summaryrefslogtreecommitdiff
path: root/libre/pyside6/fix-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/pyside6/fix-build.patch')
-rw-r--r--libre/pyside6/fix-build.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/pyside6/fix-build.patch b/libre/pyside6/fix-build.patch
new file mode 100644
index 000000000..bb3f763ef
--- /dev/null
+++ b/libre/pyside6/fix-build.patch
@@ -0,0 +1,14 @@
+diff --git a/sources/pyside6/qtexampleicons/CMakeLists.txt b/sources/pyside6/qtexampleicons/CMakeLists.txt
+index 1562f7b27..58ecc7c17 100644
+--- a/sources/pyside6/qtexampleicons/CMakeLists.txt
++++ b/sources/pyside6/qtexampleicons/CMakeLists.txt
+@@ -32,6 +32,9 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
+ target_compile_definitions(QtExampleIcons PRIVATE "-DNDEBUG")
+ endif()
+
++get_property(SHIBOKEN_PYTHON_LIBRARIES GLOBAL PROPERTY shiboken_python_libraries)
++get_property(SHIBOKEN_PYTHON_INCLUDE_DIRS GLOBAL PROPERTY shiboken_python_include_dirs)
++
+ target_include_directories(QtExampleIcons PRIVATE ${SHIBOKEN_PYTHON_INCLUDE_DIRS})
+
+ get_property(SHIBOKEN_PYTHON_LIBRARIES GLOBAL PROPERTY shiboken_python_libraries)