Commit b7086e05 authored by Ralf Habacker's avatar Ralf Habacker Committed by Ralf Habacker

cmake: Dump missing config header checks only if config.h.in is present.

config.h.in is only generated by running autogen.sh.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=90089Reviewed-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
parent d5e7e279
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment