Repository: incubator-singa
Updated Branches:
  refs/heads/master 0be3e03a8 -> a6e7690bd


To install all headers via 'make install'


Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/a6e7690b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/a6e7690b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/a6e7690b

Branch: refs/heads/master
Commit: a6e7690bd375f4b317862692ae43be22b8992664
Parents: 0be3e03
Author: wangwei <[email protected]>
Authored: Tue Mar 14 20:26:20 2017 +0800
Committer: wangwei <[email protected]>
Committed: Tue Mar 14 20:26:20 2017 +0800

----------------------------------------------------------------------
 CMakeLists.txt | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/a6e7690b/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 59bb4e3..627c217 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -165,12 +165,9 @@ IF (USE_JAVA)
     ADD_SUBDIRECTORY(java)
 ENDIF()
 
-INSTALL(DIRECTORY include/singa DESTINATION ${CMAKE_INSTALL_PREFIX}/include)
-INSTALL(FILES ${CMAKE_BINARY_DIR}/include/singa/singa_config.h DESTINATION
-    ${CMAKE_INSTALL_PREFIX}/include/singa)
-INSTALL(DIRECTORY ${CMAKE_BINARY_DIR}/lib DESTINATION
-    ${CMAKE_INSTALL_PREFIX}
-    PATTERN "*libgtest.a" EXCLUDE )
+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(CODE "execute_process(COMMAND python setup.py install 
--prefix=${CMAKE_INSTALL_PREFIX} WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/python)")
 

Reply via email to