We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 32af810 commit 1d88f38Copy full SHA for 1d88f38
CMakeLists.txt
@@ -941,7 +941,13 @@ set(QGIS_INSTALL_SYS_LIBS TRUE CACHE BOOL "If set to TRUE install all required s
941
set(MIN_PYTHON_VERSION "3.7")
942
set(Python_FIND_FRAMEWORK "LAST")
943
944
-find_package(Python ${MIN_PYTHON_VERSION} REQUIRED COMPONENTS Interpreter Development)
+
945
+if (WITH_BINDINGS)
946
+ find_package(Python ${MIN_PYTHON_VERSION} REQUIRED COMPONENTS Interpreter Development)
947
+else()
948
+ find_package(Python ${MIN_PYTHON_VERSION} REQUIRED COMPONENTS Interpreter)
949
+endif()
950
951
message("-- Found Python executable: ${Python_EXECUTABLE} (version ${Python_VERSION})")
952
message("-- Python library: ${Python_LIBRARIES}")
953
message("-- Python site-packages: ${Python_SITEARCH}")
0 commit comments