From 1ba6c3956bc49949ede3daf8eaa29463736c667f Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Thu, 5 Mar 2015 20:48:09 +0100 Subject: [PATCH] cmake: Give users a hint to run autogen.sh if config.h.in is not present to see autotools config header differences. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=85418 Reviewed-by: Simon McVittie --- cmake/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 28de329..3de0606 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -27,6 +27,8 @@ autoversion(dbus) if(EXISTS ../config.h.in) autoheaderchecks(../config.h.in ConfigureChecks.cmake config.h.cmake) +else() + message(STATUS "Generate config.h.in with autogen.sh to enable cmake header difference check.") endif() # used by file version info -- 2.7.4