[mlpack] 15/20: Propagate fix for mlpack_allkrann backwards compatibility too.

Barak A. Pearlmutter barak+git at pearlmutter.net
Thu May 25 20:44:09 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 31d011f2ae2aa10fd9e09ac4a5cbc81c6d7bf9fe
Author: Ryan Curtin <ryan at ratml.org>
Date:   Thu May 4 20:37:12 2017 -0400

    Propagate fix for mlpack_allkrann backwards compatibility too.
---
 src/mlpack/methods/rann/CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/mlpack/methods/rann/CMakeLists.txt b/src/mlpack/methods/rann/CMakeLists.txt
index 906c4e6..88a9c9c 100644
--- a/src/mlpack/methods/rann/CMakeLists.txt
+++ b/src/mlpack/methods/rann/CMakeLists.txt
@@ -45,7 +45,10 @@ if (BUILD_CLI_EXECUTABLES)
   add_custom_command(TARGET mlpack_krann POST_BUILD
       COMMAND ${CMAKE_COMMAND} -E copy
       $<TARGET_FILE:mlpack_krann>
-      $<TARGET_FILE_DIR:mlpack_krann>/mlpack_allkrann${kfn_ext}
+      $<TARGET_FILE_DIR:mlpack_krann>/mlpack_allkrann${krann_ext}
   )
+
+  install(PROGRAMS $<TARGET_FILE_DIR:mlpack_kfn>/mlpack_allkrann${krann_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