Commit 1c4fea4b authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[cmake] add status output when pybind11 is found

parent c97b79c8
......@@ -91,6 +91,11 @@ option(FRACKIT_ENABLE_PYTHONBINDINGS "Enable python bindings for Frackit" ON)
# python and pybind11 for python bindings
find_package(PythonInterp 3)
find_package(pybind11)
if (pybind11_FOUND)
message(STATUS "Found pybind11 in ${pybind11_INCLUDE_DIR}")
endif()
if (FRACKIT_ENABLE_PYTHONBINDINGS AND NOT PYTHONINTERP_FOUND)
set(FRACKIT_ENABLE_PYTHONBINDINGS OFF)
message("Python interpreter not found. This is required to build the python library.")
......
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