mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-03 16:48:52 +02:00
CMake works on MacOS
This commit is contained in:
parent
0bdf6b73cd
commit
2299e20cfc
5 changed files with 115 additions and 37 deletions
|
@ -29,9 +29,17 @@ set(SERVER_INCLUDE
|
|||
${FLAC_INCLUDE_DIRS})
|
||||
|
||||
# Avahi
|
||||
list(APPEND SERVER_SOURCES publishZeroConf/publishAvahi.cpp)
|
||||
list(APPEND SERVER_LIBRARIES ${AVAHI_LIBRARIES})
|
||||
list(APPEND SERVER_INCLUDE ${AVAHI_INCLUDE_DIRS})
|
||||
if (AVAHI_FOUND)
|
||||
list(APPEND SERVER_SOURCES publishZeroConf/publishAvahi.cpp)
|
||||
list(APPEND SERVER_LIBRARIES ${AVAHI_LIBRARIES})
|
||||
list(APPEND SERVER_INCLUDE ${AVAHI_INCLUDE_DIRS})
|
||||
endif (AVAHI_FOUND)
|
||||
|
||||
if (BONJOUR_FOUND)
|
||||
list(APPEND SERVER_SOURCES publishZeroConf/publishBonjour.cpp)
|
||||
# list(APPEND SERVER_LIBRARIES ${BONJOUR_LIBRARIES})
|
||||
# list(APPEND SERVER_INCLUDE ${BONJOUR_INCLUDE_DIRS})
|
||||
endif (BONJOUR_FOUND)
|
||||
|
||||
if (OGG_FOUND AND VORBIS_FOUND AND VORBISENC_FOUND)
|
||||
list(APPEND SERVER_SOURCES encoder/oggEncoder.cpp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue