[mlpack-git] master: Explicitly include the CreateGitVersionHeader module. (dac00b2)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 26 06:54:12 EDT 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/672f0f9f7c859ca16240c229356369acbf971b5c...dac00b2b348b1bfe7051935ea899e673abf0b166

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

commit dac00b2b348b1bfe7051935ea899e673abf0b166
Author: Marcus Edel <marcus.edel at fu-berlin.de>
Date:   Thu Mar 26 11:53:31 2015 +0100

    Explicitly include the CreateGitVersionHeader module.


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

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 341465a..cca3b59 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -268,6 +268,7 @@ if (GIT_FOUND)
   if (${MLPACK_TMP_REV_INFO_RESULT} EQUAL 0)
     set (USING_GIT "YES")
     add_definitions(-D__MLPACK_GIT_VERSION)
+    include(CMake/CreateGitVersionHeader.cmake)
 
     add_custom_target(mlpack_gitversion ALL
         COMMAND ${CMAKE_COMMAND} -P CMake/CreateGitVersionHeader.cmake



More information about the mlpack-git mailing list