From: Ralf Habacker Date: Thu, 5 Mar 2015 19:48:09 +0000 (+0100) Subject: cmake: Give users a hint to run autogen.sh if config.h.in is not present to see autot... X-Git-Tag: dbus-1.9.16~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1ba6c3956bc49949ede3daf8eaa29463736c667f;p=thirdparty%2Fdbus.git 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 --- diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 28de329ee..3de0606a2 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