Explicitly include the CreateGitVersionHeader module.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user