Commit 50b0c47c authored by Leon Merten Lohse's avatar Leon Merten Lohse
Browse files

fix python version detection

parent 461aae28
Pipeline #242636 failed with stage
in 48 seconds
......@@ -7,7 +7,10 @@ set(default_build_type "Release")
include (GNUInstallDirs)
find_package(Python COMPONENTS Interpreter Development REQUIRED)
if(NOT SKBUILD)
# This is done by scikit-build -- if used
find_package(Python COMPONENTS Interpreter Development REQUIRED)
endif()
add_subdirectory (extern/pybind11)
#find_package (pybind11 CONFIG REQUIRED)
find_package (Eigen3 3.3 REQUIRED NO_MODULE)
......
Markdown is supported
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