fixed: make python simulator object depend on copy_python

if not building just the python binding won't end up in
a complete build
This commit is contained in:
Arne Morten Kvarving 2024-08-30 12:38:26 +02:00
parent d591c5ab3c
commit a78337fc33

View File

@ -103,6 +103,8 @@ configure_file(${PROJECT_SOURCE_DIR}/python/setup.py.in
file(GENERATE OUTPUT ${PROJECT_BINARY_DIR}/python/setup.py
INPUT ${PROJECT_BINARY_DIR}/python/setup.py.tmp)
add_dependencies(simulators copy_python)
# Since the installation of Python code is nonstandard it is protected by an
# extra cmake switch, OPM_INSTALL_PYTHON. If you prefer you can still invoke
# setup.py install manually - optionally with the generated script