diff --git a/CMakeLists.txt b/CMakeLists.txt index d0c12c6..4155584 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,7 +173,7 @@ if ( BUILD_PYTHON_BINDINGS ) find_package(Python COMPONENTS Interpreter Development REQUIRED) # Without the following, CMake and pybind seems to find different versions of python # https://pybind11.readthedocs.io/en/stable/faq.html#inconsistent-detection-of-python-version-in-cmake-and-pybind11 - # option(PYBIND11_FINDPYTHON "Use pybind11 to find python" ON) + option(PYBIND11_FINDPYTHON "Use pybind11 to find python" ON) add_subdirectory(pybind11) pybind11_add_module(${CoMMA_PYTHON} ${PYTHONBIND}) target_link_libraries(${CoMMA_PYTHON} PUBLIC ${CoMMA_LIB})