Explicitly include the CreateGitVersionHeader module.

This commit is contained in:
Marcus Edel
2015-03-26 11:53:55 +01:00
parent 672f0f9f7c
commit dac00b2b34
+1
View File
@@ -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