ports/devel/pyside6/files/patch-cmake_Macros_PySideModules.cmake
Loïc Bartoletti d5d32f2cde PySide6: Python biding for Qt6
Add devel/pyside6* and devel/shiboken6

PySide6 is the official Python module from the Qt for Python project, which
provides access to the complete Qt 6.0+ framework.
2023-06-19 20:49:17 +02:00

11 lines
592 B
CMake

--- cmake/Macros/PySideModules.cmake.orig 2023-06-05 07:34:38 UTC
+++ cmake/Macros/PySideModules.cmake
@@ -104,7 +104,7 @@ macro(create_pyside_module)
get_target_property(qt_core_includes Qt${QT_MAJOR_VERSION}::Core
INTERFACE_INCLUDE_DIRECTORIES)
set(shiboken_include_dir_list ${pyside6_SOURCE_DIR} ${qt_platform_includes}
- ${qt_core_includes})
+ ${qt_core_includes} ${CMAKE_INSTALL_PREFIX}/include)
# Transform the path separators into something shiboken understands.
make_path(shiboken_include_dirs ${shiboken_include_dir_list})