Skip to content

Commit a78337f

Browse files
committed
fixed: make python simulator object depend on copy_python
if not building just the python binding won't end up in a complete build
1 parent d591c5a commit a78337f

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)