From 722fc48a30da39f859bceb00123aaf9fed9b0995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Mon, 6 Apr 2020 01:44:17 +0200 Subject: [PATCH] CMakeLists.txt: add a comment --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b1c567d..0e74411 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,6 +17,8 @@ set (project_version "0.9.7") # Try to append commit ID if it follows a version tag. It might be nicer if # we could also detect dirty worktrees but that's very hard to get right. +# If we didn't need this for CPack, we could use add_custom_command to generate +# a version source/include file. find_package (Git) set (git_head "${PROJECT_SOURCE_DIR}/.git/HEAD") if (GIT_FOUND AND EXISTS "${git_head}")