diff options
| author | Cristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2020-07-14 03:08:41 -0700 |
|---|---|---|
| committer | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2020-07-14 12:09:04 +0000 |
| commit | b8bb6e623939f5f3bf2ed61a04511190e307bba0 (patch) | |
| tree | 6e686a857f028388a6d4d148ab3d927cc7039c41 /sources/pyside2/cmake/Macros/PySideModules.cmake | |
| parent | 495eeac56d822072fecc1c59fabbeb3b1077fd3b (diff) | |
Fix missing QtCore missing path for the pyside module
This enables building QtCore built on macOS
Task-number: PYSIDE-1339
Change-Id: I67bd24ea8da1f490cc0c109ff36a01ae9c156822
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2/cmake/Macros/PySideModules.cmake')
| -rw-r--r-- | sources/pyside2/cmake/Macros/PySideModules.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside2/cmake/Macros/PySideModules.cmake b/sources/pyside2/cmake/Macros/PySideModules.cmake index 14707f964..5022002c9 100644 --- a/sources/pyside2/cmake/Macros/PySideModules.cmake +++ b/sources/pyside2/cmake/Macros/PySideModules.cmake @@ -93,7 +93,7 @@ macro(create_pyside_module) # Contains include directories to pass to shiboken's preprocessor. # Workaround: Added ${QT_INCLUDE_DIR}/QtCore until # qtdeclarative/8d560d1bf0a747bf62f73fad6b6774095442d9d2 has reached qt5.git - string(REPLACE ";" ${PATH_SEP} core_includes "${Qt5Core_INCLUDE_DIRS}") + string(REPLACE ";" ${PATH_SEP} core_includes "${Qt${QT_MAJOR_VERSION}Core_INCLUDE_DIRS}") set(shiboken_include_dirs ${pyside2_SOURCE_DIR}${PATH_SEP}${QT_INCLUDE_DIR}${PATH_SEP}${core_includes}) set(shiboken_framework_include_dirs_option "") if(CMAKE_HOST_APPLE) |
