Skip to content

Commit

Permalink
VersionGen.cmake: Fix endif.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson committed Aug 10, 2014
1 parent 5364f23 commit edfcd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/VersionGen.cmake
Expand Up @@ -12,7 +12,7 @@ macro (VERSION_GEN _version _version_file _default_version)
list (GET _version_strs 0 _version_strs0)
if (NOT (${_version_strs0} STREQUAL ""))
set (_vn "v${_version_strs0}")
endif (${_version_strs0})
endif (NOT (${_version_strs0} STREQUAL ""))
elseif (EXISTS "${CMAKE_SOURCE_DIR}/.git")
execute_process (COMMAND git describe --match "v[0-9]*" --abbrev=4 HEAD
RESULT_VARIABLE _git_result
Expand Down

0 comments on commit edfcd8a

Please sign in to comment.