aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-10-31 18:27:14 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-11-02 14:10:20 +0000
commitc22994d0148282f8a4241a2454e940b1e8b76bf6 (patch)
treec85d44d427ed7a193dd6b5a69d60851cf4a6cd4c
parent8ac3993024937f51115f9742c76b116931274b11 (diff)
CMake: Print found limited libraries
Useful to know what are the limited libraries because they might override the default chosen library if building with limited api. Change-Id: I9d43f5fe0c9e7e6781b6de8620f9a76fe2e9f268 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit a55ebc97413764229cb53d4a73f6d784e63cefff) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--sources/shiboken6/cmake/ShibokenHelpers.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/shiboken6/cmake/ShibokenHelpers.cmake b/sources/shiboken6/cmake/ShibokenHelpers.cmake
index a0d8d3c7f..27f8cc29b 100644
--- a/sources/shiboken6/cmake/ShibokenHelpers.cmake
+++ b/sources/shiboken6/cmake/ShibokenHelpers.cmake
@@ -256,6 +256,8 @@ macro(shiboken_check_if_limited_api)
OUTPUT_STRIP_TRAILING_WHITESPACE)
endif()
+ message(STATUS "PYTHON_LIMITED_LIBRARIES: " ${PYTHON_LIMITED_LIBRARIES})
+
if(FORCE_LIMITED_API OR SHIBOKEN_PYTHON_LIMITED_API)
set(PYTHON_LIMITED_API 1)
if(WIN32)