SINGA-229 Complete install targets Remove bin/ from install folder. Move singa_config.h into include/singa/.
Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/a0af4658 Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/a0af4658 Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/a0af4658 Branch: refs/heads/dev Commit: a0af4658c3545009c9ee8f58acd8bd8c047e4ebb Parents: e39be3e Author: xiezl <[email protected]> Authored: Wed Aug 10 17:10:52 2016 +0800 Committer: xiezl <[email protected]> Committed: Thu Aug 11 11:06:39 2016 +0800 ---------------------------------------------------------------------- CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/a0af4658/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index 4661c58..32d3b8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,8 @@ ADD_SUBDIRECTORY(src) ADD_SUBDIRECTORY(test) ADD_SUBDIRECTORY(examples) -INSTALL(DIRECTORY include/singa DESTINATION include) -INSTALL(FILES ${CMAKE_BINARY_DIR}/include/singa/singa_config.h DESTINATION include) +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}) -INSTALL (DIRECTORY ${CMAKE_BINARY_DIR}/bin DESTINATION ${CMAKE_INSTALL_PREFIX}) +#INSTALL (DIRECTORY ${CMAKE_BINARY_DIR}/bin DESTINATION ${CMAKE_INSTALL_PREFIX})
