summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/inkscape-version.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeScripts/inkscape-version.cmake b/CMakeScripts/inkscape-version.cmake
index 9ffa7f8c7..40c1c4364 100644
--- a/CMakeScripts/inkscape-version.cmake
+++ b/CMakeScripts/inkscape-version.cmake
@@ -11,7 +11,7 @@
set(INKSCAPE_REVISION "unknown")
set(INKSCAPE_CUSTOM "custom")
-if(EXISTS ${INKSCAPE_SOURCE_DIR}/.git/)
+if(EXISTS ${INKSCAPE_SOURCE_DIR}/.git)
execute_process(COMMAND git describe
WORKING_DIRECTORY ${INKSCAPE_SOURCE_DIR}