You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@milagro.apache.org by sa...@apache.org on 2020/03/04 10:36:30 UTC
[incubator-milagro-MPC] 05/07: do not copy .so files to python dir
This is an automated email from the ASF dual-hosted git repository.
sandreoli pushed a commit to branch add-amcl-wrappers
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git
commit fd0b5eb0e026a74f83c29cc695a83b8c1b9251a8
Author: Samuele Andreoli <sa...@yahoo.it>
AuthorDate: Wed Feb 26 19:58:58 2020 +0000
do not copy .so files to python dir
---
src/CMakeLists.txt | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f6c45db..1311df2 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -39,10 +39,3 @@ install(TARGETS ${target} DESTINATION lib PERMISSIONS
OWNER_WRITE OWNER_READ OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE)
-
-if(BUILD_PYTHON)
- message(STATUS "Copy ${target} library to python directory for testing")
- add_custom_command(TARGET ${target} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_BINARY_DIR}/lib*" "${PROJECT_BINARY_DIR}/python/test")
- add_custom_command(TARGET ${target} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_BINARY_DIR}/lib*" "${PROJECT_BINARY_DIR}/python/benchmark")
- add_custom_command(TARGET ${target} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_BINARY_DIR}/lib*" "${PROJECT_BINARY_DIR}/python/examples")
-endif(BUILD_PYTHON)