From 086de5b5e30cde598a133419e1e8952980c9a4e7 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 11 Mar 2016 14:49:23 +0500 Subject: CMake: Warn when buildinfo is disabled due to missing Git --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') 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() -- cgit v1.2.3