[mlpack-git] master: Make sure the version string is properly set. (3aead72)

gitdub at mlpack.org gitdub at mlpack.org
Tue Sep 13 11:25:09 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/12a10f428c07dd409d52684932655842a8eddb29...8d6d3919faf8596778b6db8c8865262fec9c394b

>---------------------------------------------------------------

commit 3aead72a42f404b10698e1babc88878cf4d79490
Author: Ryan Curtin <ryan at ratml.org>
Date:   Tue Sep 13 11:25:09 2016 -0400

    Make sure the version string is properly set.


>---------------------------------------------------------------

3aead72a42f404b10698e1babc88878cf4d79490
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index bc50bf7..40164f6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -517,6 +517,7 @@ if (PKG_CONFIG_FOUND)
   endforeach ()
 
   # Do first stage of configuration.
+  set(MLPACK_VERSION_STRING "@MLPACK_VERSION_STRING@")
   configure_file(
     ${CMAKE_CURRENT_SOURCE_DIR}/CMake/mlpack.pc.in
     ${CMAKE_BINARY_DIR}/CMake/mlpack.pc.in.partial @ONLY)




More information about the mlpack-git mailing list