aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-12-12 12:48:59 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-12-12 15:42:53 +0100
commit7ad1ddf222553cb79175d4ef2a2524fbd19e572d (patch)
tree2a376eabb9dcf29d6c8434d851fa92a65f60fd1f
parentea3461e6b27eed0d3c23eba15ed40ef890fb70ea (diff)
Fix build with non-limited API
Amends d5b56ebb1534a3359f03534a967bbe3cf2a5eb51. Pick-to: 6.6 Fixes: PYSIDE-2439 Change-Id: Ib10c1b16998a49841fbfe75b0692b2cd993163fb Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
-rw-r--r--sources/shiboken6/cmake/ShibokenHelpers.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/cmake/ShibokenHelpers.cmake b/sources/shiboken6/cmake/ShibokenHelpers.cmake
index b42ba413a..f4a00af3f 100644
--- a/sources/shiboken6/cmake/ShibokenHelpers.cmake
+++ b/sources/shiboken6/cmake/ShibokenHelpers.cmake
@@ -467,7 +467,7 @@ Built with: '${SHIBOKEN_PYTHON_VERSION_MAJOR}.${SHIBOKEN_PYTHON_VERSION_MINOR}'
Detected: '${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}'")
else()
if(NOT SHIBOKEN_PYTHON_LIMITED_API
- AND NOT SHIBOKEN_PYTHON_VERSION_MINOR STREQUAL PYTHON_VERSION_MINOR)
+ AND NOT SHIBOKEN_PYTHON_VERSION_MINOR STREQUAL Python_VERSION_MINOR)
message(FATAL_ERROR
"The detected Python minor version is not compatible with the Python minor \
version which was used when Shiboken was built. Consider building shiboken with \