mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 17:20:59 -06:00
Also search for development artifacts
We should also search for development artifacts when combining FindPython3.cmake with find_package(pybind11)
This commit is contained in:
parent
3c0498e55f
commit
101a5ada82
@ -49,7 +49,7 @@ if (OPM_ENABLE_PYTHON)
|
||||
if(PYTHON_EXECUTABLE AND NOT Python3_EXECUTABLE)
|
||||
set(Python3_EXECUTABLE ${PYTHON_EXECUTABLE})
|
||||
endif()
|
||||
find_package(Python3 REQUIRED COMPONENTS Interpreter)
|
||||
find_package(Python3 REQUIRED COMPONENTS Interpreter Development)
|
||||
endif()
|
||||
|
||||
# Compatibility settings for PythonInterp and PythonLibs
|
||||
|
Loading…
Reference in New Issue
Block a user