Skip to content

Commit d90d711

Browse files
authored
Merge pull request #5569 from akva2/fix_python_depends
fixed: make python simulator object depend on copy_python
2 parents d591c5a + a78337f commit d90d711

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/simulators/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ configure_file(${PROJECT_SOURCE_DIR}/python/setup.py.in
103103
file(GENERATE OUTPUT ${PROJECT_BINARY_DIR}/python/setup.py
104104
INPUT ${PROJECT_BINARY_DIR}/python/setup.py.tmp)
105105

106+
add_dependencies(simulators copy_python)
107+
106108
# Since the installation of Python code is nonstandard it is protected by an
107109
# extra cmake switch, OPM_INSTALL_PYTHON. If you prefer you can still invoke
108110
# setup.py install manually - optionally with the generated script

0 commit comments

Comments
 (0)