From 9a160744f9ad603cabc2b09d5ff9ab85a6e8f919 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Sat, 18 Apr 2015 21:14:11 +0200 Subject: [PATCH 1/3] cmake: Dump missing config header checks only if config.h.in is present. config.h.in is only generated by running autogen.sh. --- cmake/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 1819dbd..6fbe23e 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -24,7 +24,11 @@ endif() include(MacrosAutotools) autoinit(../configure.ac) autoversion(dbus) -autoheaderchecks(../config.h.in ConfigureChecks.cmake config.h.cmake) + +if(EXISTS ../config.h.in) + autoheaderchecks(../config.h.in ConfigureChecks.cmake config.h.cmake) +endif() + # used by file version info set (DBUS_PATCH_VERSION "0") -- 1.8.4.5