non-GUI build should not require bonjour headers

This commit is contained in:
walker0643 2018-06-30 13:26:18 -04:00
parent f857354535
commit e88bc97e63
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ if (UNIX)
message (FATAL_ERROR "Missing header: " ${XKBlib}) message (FATAL_ERROR "Missing header: " ${XKBlib})
endif() endif()
if (NOT HAVE_DNSSD) if (BARRIER_BUILD_GUI AND NOT HAVE_DNSSD)
message (FATAL_ERROR "Missing header: dns_sd.h") message (FATAL_ERROR "Missing header: dns_sd.h")
endif() endif()