You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by wa...@apache.org on 2019/07/17 15:07:55 UTC

[incubator-singa] branch master updated: SINGA-471 Fix the cmake error on some systems

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

wangwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-singa.git


The following commit(s) were added to refs/heads/master by this push:
     new 831903e  SINGA-471 Fix the cmake error on some systems
831903e is described below

commit 831903ea7767eb336b53c9ec31fe96d70a32ba48
Author: wang wei <wa...@comp.nus.edu.sg>
AuthorDate: Wed Jul 17 22:06:53 2019 +0700

    SINGA-471 Fix the cmake error on some systems
---
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 16d38d9..fa2c712 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -168,9 +168,9 @@ IF (USE_JAVA)
     ADD_SUBDIRECTORY(java)
 ENDIF()
 
-INSTALL(DIRECTORY ${CMAKE_BINARY_DIR}/include DESTINATION ${CMAKE_INSTALL_PREFIX})
+INSTALL(DIRECTORY ${CMAKE_BINARY_DIR}/include DESTINATION ${CMAKE_INSTALL_PREFIX}/)
 INSTALL(DIRECTORY include/singa DESTINATION ${CMAKE_INSTALL_PREFIX}/include/)
-INSTALL(DIRECTORY ${CMAKE_BINARY_DIR}/lib DESTINATION ${CMAKE_INSTALL_PREFIX} PATTERN "*libgtest.a" EXCLUDE )
+INSTALL(DIRECTORY ${CMAKE_BINARY_DIR}/lib DESTINATION ${CMAKE_INSTALL_PREFIX}/ PATTERN "*libgtest.a" EXCLUDE )
 
 INSTALL(CODE "execute_process(COMMAND python setup.py install --prefix=${CMAKE_INSTALL_PREFIX} WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/python)")