Commit 02f1f530 authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED compiler error if no git command-line installed

parent 6f44ea7f
......@@ -33,7 +33,10 @@ if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/libraries/core/CamiTKVersion.h)
get_git_info(${CMAKE_CURRENT_SOURCE_DIR})
set(CAMITK_VERSION_GIT ".${CAMITK_GIT_COMMIT_COUNT}")
set(CAMITK_SVN_SUBVERSION_FOUND "1")
endif()
else()
set(CAMITK_VERSION_GIT ".git")
set(CAMITK_SVN_SUBVERSION_FOUND "0")
endif()
else()
set(CAMITK_SVN_SUBVERSION_FOUND "0")
set(CAMITK_SOURCE_PACKAGE_VERSION "1")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment