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

View File

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