diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-03-11 12:49:23 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-03-11 12:49:23 +0300 |
commit | 086de5b5e30cde598a133419e1e8952980c9a4e7 (patch) | |
tree | 8d8fa1574f5b4a4dc9b67d3bd739433de6fd2fb6 /CMakeLists.txt | |
parent | cc2138888a0219874ca5e25128b7edd54fa296ff (diff) |
CMake: Warn when buildinfo is disabled due to missing Git
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b24945d7ebd..fb813734bc5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -707,6 +707,7 @@ endif() if(WITH_BUILDINFO) find_package(Git) if(NOT GIT_FOUND) + message(WARNING "Git was not found, disabling WITH_BUILDINFO") set(WITH_BUILDINFO OFF) endif() endif() |