mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-08-17 21:44:50 -05: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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user