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/02/18 14:37:36 UTC

[incubator-milagro-MPC] 06/06: remove copied .so files to python dir

This is an automated email from the ASF dual-hosted git repository.

sandreoli pushed a commit to branch issue7-schnorr-python-wrapper
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git

commit 942c67ba85de39382302a33156abe33aa6bb83ce
Author: Samuele Andreoli <sa...@yahoo.it>
AuthorDate: Tue Feb 18 14:37:02 2020 +0000

    remove copied .so files to python dir
---
 src/CMakeLists.txt | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c6f46e3..1311df2 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -39,11 +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/")
-endif(BUILD_PYTHON)