Remove cmake include of pybind11 CMakeLists.txt

This commit is contained in:
Joakim Hove 2021-03-15 09:27:19 +01:00
parent 8d11fc5458
commit 52caefae34

View File

@ -399,7 +399,6 @@ if (OPM_ENABLE_PYTHON)
# -------------------------------------------------------------------------
# 2: Embed the Python interpreter for keywords like PYACTION and PYINPUT
add_subdirectory(python/pybind11)
target_include_directories(opmcommon SYSTEM PRIVATE "python/pybind11/include;${PYTHON_INCLUDE_DIRS}")
if (OPM_ENABLE_EMBEDDED_PYTHON)
target_link_libraries(opmcommon PUBLIC ${PYTHON_LIBRARY})