Commit 2896d31a authored by Pino Toscano's avatar Pino Toscano
Browse files

build: do not look for Python Interpreter

An actual Python interpreter is not needed for the build, and only the
development bits of Python are needed for the Python backend.
parent 1acc2173
Pipeline #107298 skipped
...@@ -62,7 +62,7 @@ endif(QALCULATE_FOUND) ...@@ -62,7 +62,7 @@ endif(QALCULATE_FOUND)
set_package_properties(Python3 PROPERTIES TYPE OPTIONAL set_package_properties(Python3 PROPERTIES TYPE OPTIONAL
PURPOSE "Backend to use Python with Cantor.") PURPOSE "Backend to use Python with Cantor.")
find_package(Python3 COMPONENTS Interpreter Development) find_package(Python3 COMPONENTS Development)
if(Python3_FOUND) if(Python3_FOUND)
add_subdirectory(python) add_subdirectory(python)
endif() endif()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment