have all other OSes handled in the else case.

No reason to limit to just freebsd and linux, we handle all existing
supported OSes in the previous cases.
Needed for NetBSD support.
This commit is contained in:
coypu 2018-08-02 15:41:02 +03:00
parent c7c14f02dd
commit 87820d9387

View File

@ -36,8 +36,7 @@ if (WIN32)
elseif (APPLE)
find_library(APPSERVICES_LIB ApplicationServices)
target_link_libraries(barrier ${APPSERVICES_LIB})
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR
${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
else()
target_link_libraries (barrier dns_sd)
endif()