From def0f1d71443c66a1a58301d39b178d166119251 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Thu, 24 Oct 2019 14:07:43 +0100 Subject: [PATCH] Ensure some option values get defined in the config header. --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b35846c..55803a0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,6 +143,12 @@ set(PATH_RESOLVCONF "/etc/resolv.conf" CACHE STRING "Set the resolver configurat set(PATH_TRUST_ANCHOR_FILE "${CMAKE_INSTALL_FULL_SYSCONFDIR}/unbound/getdns-root.key" CACHE STRING "Default location of the trust anchor file.") set(STUB_NATIVE_DNSSEC ON CACHE BOOL "Enable/disable native stub DNSSEC support.") +# Ensure option variables are defined that receive values from the above. +set(GETDNS_FN_HOSTS 1) +set(GETDNS_FN_RESOLVCONF 1) +set(TRUST_ANCHOR_FILE 1) +set(UDP_MAX_BACKOFF 1) + # Options not exposed in autoconf. set(DRAFT_RRTYPES 1) set(EDNS_COOKIE_OPCODE 10)