diff --git a/python/simulators/CMakeLists.txt b/python/simulators/CMakeLists.txt index ab65e2d95..400c102d2 100644 --- a/python/simulators/CMakeLists.txt +++ b/python/simulators/CMakeLists.txt @@ -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