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:
parent
c7c14f02dd
commit
87820d9387
|
@ -36,8 +36,7 @@ if (WIN32)
|
||||||
elseif (APPLE)
|
elseif (APPLE)
|
||||||
find_library(APPSERVICES_LIB ApplicationServices)
|
find_library(APPSERVICES_LIB ApplicationServices)
|
||||||
target_link_libraries(barrier ${APPSERVICES_LIB})
|
target_link_libraries(barrier ${APPSERVICES_LIB})
|
||||||
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR
|
else()
|
||||||
${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
|
||||||
target_link_libraries (barrier dns_sd)
|
target_link_libraries (barrier dns_sd)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue