mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-03 16:48:52 +02:00
add opus options to cmakefiles
This commit is contained in:
parent
258bab4f65
commit
2a47e0b672
3 changed files with 20 additions and 0 deletions
|
@ -59,6 +59,12 @@ if (FLAC_FOUND)
|
|||
list(APPEND SERVER_INCLUDE ${FLAC_INCLUDE_DIRS})
|
||||
endif (FLAC_FOUND)
|
||||
|
||||
if (OPUS_FOUND)
|
||||
list(APPEND SERVER_SOURCES encoder/opus_encoder.cpp)
|
||||
list(APPEND SERVER_LIBRARIES ${OPUS_LIBRARIES})
|
||||
list(APPEND SERVER_INCLUDE ${OPUS_INCLUDE_DIRS})
|
||||
endif (OPUS_FOUND)
|
||||
|
||||
#list(APPEND SERVER_LIBRARIES Boost::boost)
|
||||
|
||||
include_directories(${SERVER_INCLUDE})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue