From 90635a4e4a5ae8f013be4a45c5a2e404cdd48ca3 Mon Sep 17 00:00:00 2001 From: Edoardo Pasca <14138589+paskino@users.noreply.github.com> Date: Mon, 13 May 2024 20:06:41 +0000 Subject: [PATCH] update build command --- SuperBuild/External_CCPi-Regularisation-Toolkit.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SuperBuild/External_CCPi-Regularisation-Toolkit.cmake b/SuperBuild/External_CCPi-Regularisation-Toolkit.cmake index 2124a360..ed094e79 100644 --- a/SuperBuild/External_CCPi-Regularisation-Toolkit.cmake +++ b/SuperBuild/External_CCPi-Regularisation-Toolkit.cmake @@ -72,7 +72,8 @@ if(NOT ( DEFINED "USE_SYSTEM_${externalProjName}" AND "${USE_SYSTEM_${externalPr -DPYTHON_DEST_DIR:PATH=${PYTHON_DEST} BUILD_COMMAND ${CMAKE_COMMAND} -E env CIL_VERSION=${${proj}_TAG} ${CMAKE_COMMAND} --build . - INSTALL_COMMAND ${CMAKE_COMMAND} -E env CIL_VERSION=${${proj}_TAG} ${CMAKE_COMMAND} --build . --target install + INSTALL_COMMAND ${CMAKE_COMMAND} -E env CIL_VERSION=${${proj}_TAG} ${CMAKE_COMMAND} --build . --target install && + ${PYYHON_EXECUTABLE} -m pip install ${${proj}_SOURCE_DIR}/src/Python #TEST_COMMAND ${PYTHON_EXECUTABLE} -m unittest discover -s ${${proj}_SOURCE_DIR}/test/ -p test*.py DEPENDS ${${proj}_DEPENDENCIES}