mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -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)
|
if(PYTHON_EXECUTABLE AND NOT Python3_EXECUTABLE)
|
||||||
set(Python3_EXECUTABLE ${PYTHON_EXECUTABLE})
|
set(Python3_EXECUTABLE ${PYTHON_EXECUTABLE})
|
||||||
endif()
|
endif()
|
||||||
find_package(Python3 REQUIRED COMPONENTS Interpreter)
|
find_package(Python3 REQUIRED COMPONENTS Interpreter Development)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Compatibility settings for PythonInterp and PythonLibs
|
# Compatibility settings for PythonInterp and PythonLibs
|
||||||
|
Loading…
Reference in New Issue
Block a user