rework CMakeLists.txt to try to deal with case where mDNSResponder is used

(instead of avahi)
This commit is contained in:
fduncanh
2021-11-23 01:00:12 -05:00
parent 8d9fe57c33
commit ac2d6e88df
2 changed files with 24 additions and 6 deletions

View File

@@ -22,7 +22,6 @@ endif()
if( UNIX AND NOT APPLE )
find_package(PkgConfig REQUIRED)
pkg_check_modules(DNSSD REQUIRED avahi-compat-libdns_sd)
pkg_check_modules(PLIST libplist>=2.0)
if(NOT PLIST_FOUND)
pkg_check_modules(PLIST REQUIRED libplist-2.0)
@@ -58,7 +57,6 @@ target_link_libraries( uxplay
if ( UNIX AND NOT APPLE )
target_link_directories( uxplay PUBLIC
${GST_LIBRARY_DIRS}
${DNSSD_LIBRARY_DIRS}
${PLIST_LIBRARY_DIRS}
)
target_link_libraries( uxplay ${PLIST_LIBRARIES} )