Skip to content

Commit f6d17c6

Browse files
committed
CMake: Fix build when HAVE_DNS_SD and no network backend
When HAVE_DNS_SD is set to ON in the config, and then WITH_NETWORK_BACKEND is set to OFF, the library wouldn't build. Signed-off-by: Paul Cercueil <[email protected]>
1 parent 3b29bfc commit f6d17c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ if(WITH_NETWORK_BACKEND)
368368
set(NEED_LIBXML2 1)
369369
else()
370370
message(STATUS "Building without network support")
371+
set(HAVE_DNS_SD OFF)
371372
endif()
372373

373374

0 commit comments

Comments
 (0)