mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-03 16:48:52 +02:00
reorder ogg and vorbis library linking
if vorbis has been built to depend of ogg, when trying to statically link, the build of snapclient and snapserver fail. reorder the libraries, to allow off symbols in vorbis to be resolved.
This commit is contained in:
parent
245921009e
commit
5fa01b8a49
2 changed files with 9 additions and 9 deletions
|
@ -64,8 +64,8 @@ else()
|
|||
AND VORBIS_FOUND
|
||||
AND VORBISENC_FOUND)
|
||||
list(APPEND SERVER_SOURCES encoder/ogg_encoder.cpp)
|
||||
list(APPEND SERVER_LIBRARIES ${OGG_LIBRARIES} ${VORBIS_LIBRARIES}
|
||||
${VORBISENC_LIBRARIES})
|
||||
list(APPEND SERVER_LIBRARIES ${VORBIS_LIBRARIES} ${VORBISENC_LIBRARIES}
|
||||
${OGG_LIBRARIES})
|
||||
list(APPEND SERVER_INCLUDE ${OGG_INCLUDE_DIRS} ${VORBIS_INCLUDE_DIRS}
|
||||
${VORBISENC_INCLUDE_DIRS})
|
||||
endif(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue