Merge pull request #1178 from akva2/fix_rebuild_on_install

fixed: let's not copy the files twice
This commit is contained in:
Arne Morten Kvarving
2019-10-29 15:17:28 +01:00
committed by GitHub

View File

@@ -246,8 +246,6 @@ if (OPM_ENABLE_PYTHON)
add_custom_command(OUTPUT python/python/opm/${python_lib_target}
DEPENDS ${PYTHON_CXX_DEPENDS}
DEPENDS copy_python
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/python/ ${CMAKE_BINARY_DIR}/python
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_BINARY_DIR}/python/setup.py
build
build_ext