--- a/libfreshclam/CMakeLists.txt +++ b/libfreshclam/CMakeLists.txt @@ -52,7 +52,7 @@ target_link_libraries( freshclam PUBLIC network ) - elseif(UNIX) + elseif(FALSE) if(HAVE_RESOLV_H AND NOT C_BSD) # BSD appears to have libresolv inside libc target_link_libraries( freshclam PUBLIC