Skip to content

Commit

Permalink
fix: Fix python bindings, complete f2fe37c
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo Milani committed Apr 5, 2024
1 parent 5512e16 commit fd9c09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit fd9c09e

Please sign in to comment.