We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 480c8d2 commit e6b881eCopy full SHA for e6b881e
cmake/shiboken_helper.cmake
@@ -21,6 +21,10 @@ if(__PYTHON_QT_BINDING_SHIBOKEN_HELPER_INCLUDED)
21
endif()
22
set(__PYTHON_QT_BINDING_SHIBOKEN_HELPER_INCLUDED TRUE)
23
24
+# In CMake 3.27 and later, FindPythonInterp and FindPythonLibs are deprecated.
25
+# However, Shiboken2 as packaged in Ubuntu 24.04 still use them, so set CMP0148 to
26
+# "OLD" to silence this warning.
27
+cmake_policy(SET CMP0148 OLD)
28
find_package(Shiboken2 QUIET)
29
if(Shiboken2_FOUND)
30
message(STATUS "Found Shiboken2 version ${Shiboken2_VERSION}")
0 commit comments