cmake: Give users a hint to run autogen.sh if config.h.in is not present to see autot...
authorRalf Habacker <ralf.habacker@freenet.de>
Thu, 5 Mar 2015 19:48:09 +0000 (20:48 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Mon, 20 Apr 2015 21:27:37 +0000 (23:27 +0200)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=85418
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
cmake/CMakeLists.txt

index 28de329..3de0606 100644 (file)
@@ -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