cleaner version of execution script which only needs 'make install'

release/4.3a0
Varun Agrawal 2020-06-29 19:29:52 -05:00
parent 54c2903183
commit 806e5b12a3
1 changed files with 4 additions and 4 deletions

View File

@ -45,9 +45,9 @@ if (GTSAM_INSTALL_CYTHON_TOOLBOX)
install_cython_scripts("${PROJECT_SOURCE_DIR}/cython/gtsam_unstable" "${GTSAM_CYTHON_INSTALL_PATH}" "*.py") install_cython_scripts("${PROJECT_SOURCE_DIR}/cython/gtsam_unstable" "${GTSAM_CYTHON_INSTALL_PATH}" "*.py")
# Add the new make target command # Add the new make target command
add_custom_target(python-install install(CODE
COMMAND ${PYTHON_EXECUTABLE} ${GTSAM_CYTHON_INSTALL_PATH}${GTSAM_BUILD_TAG}/setup.py install "execute_process(COMMAND ${PYTHON_EXECUTABLE} setup.py install
DEPENDS gtsam WORKING_DIRECTORY ${GTSAM_CYTHON_INSTALL_FULLPATH})")
WORKING_DIRECTORY ${GTSAM_CYTHON_INSTALL_FULLPATH})
endif () endif ()