Skip to content

Commit

Permalink
VersionString.cmake: Use implicit variable expansion in if()
Browse files Browse the repository at this point in the history
  • Loading branch information
dscharrer committed Feb 23, 2016
1 parent d36a5f4 commit d243834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/VersionString.cmake
Expand Up @@ -74,7 +74,7 @@ function(version_file SRC DST VERSION_SOURCES GIT_DIR)
get_filename_component(abs_git_dir "${GIT_DIR}" ABSOLUTE)

set(defines)
if(${ARGC} GREATER 4)
if(ARGC GREATER 4)
set(defines ${ARGV4})
endif()

Expand Down

0 comments on commit d243834

Please sign in to comment.