[mlpack] 01/20: Install aliases of programs.

Barak A. Pearlmutter barak+git at pearlmutter.net
Thu May 25 20:44:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch master
in repository mlpack.

commit da1df467c5bfa3f6fb9f941c3ac9af59b624ee16
Author: Ryan Curtin <ryan at ratml.org>
Date:   Mon May 1 14:50:16 2017 -0400

    Install aliases of programs.
---
 src/mlpack/methods/neighbor_search/CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/mlpack/methods/neighbor_search/CMakeLists.txt b/src/mlpack/methods/neighbor_search/CMakeLists.txt
index 1c51ce4..95a1114 100644
--- a/src/mlpack/methods/neighbor_search/CMakeLists.txt
+++ b/src/mlpack/methods/neighbor_search/CMakeLists.txt
@@ -49,4 +49,9 @@ if (BUILD_CLI_EXECUTABLES)
       COMMAND ${CMAKE_COMMAND} -E copy
       $<TARGET_FILE:mlpack_kfn> $<TARGET_FILE_DIR:mlpack_kfn>/mlpack_allkfn${kfn_ext}
   )
+
+  install(PROGRAMS $<TARGET_FILE_DIR:mlpack_kfn>/mlpack_allkfn${kfn_ext}
+      DESTINATION bin)
+  install(PROGRAMS $<TARGET_FILE_DIR:mlpack_knn>/mlpack_allknn${knn_ext}
+      DESTINATION bin)
 endif ()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list