Commit c730cc66 authored by Gerhard Stein's avatar Gerhard Stein

Solved small missing ref with ogg files

parent c96375a3
Subproject commit b1fe274f4ffea6f1319f23aa04c880a7ba6db364
Subproject commit 948ad53aa8a9df82e522adf2146fb8fbedcbabb6
......@@ -231,18 +231,6 @@ endif(USE_SDL2)
# TODO: Does not work with MacOS. Where is the pkgconfig or cmake script
IF(OGG)
if(WIN32)
TARGET_LINK_LIBRARIES(CGeniusExe vorbisfile vorbis ogg)
else(WIN32)
TARGET_LINK_LIBRARIES(CGeniusExe vorbis vorbisfile)
endif(WIN32)
ENDIF(OGG)
IF(TREMOR)
TARGET_LINK_LIBRARIES(CGeniusExe vorbisidec)
ENDIF(TREMOR)
IF(CURL_FOUND)
TARGET_LINK_LIBRARIES(CGeniusExe ${CURL_LIBRARIES})
......
......@@ -7,3 +7,16 @@ add_library(sdl_extensions_audio_music CIMFPlayer.cpp CIMFPlayer.h
CMusicPlayer.cpp CMusicPlayer.h
COGGPlayer.cpp COGGPlayer.h)
# TODO: Does not work with MacOS. Where is the pkgconfig or cmake script
IF(OGG)
if(WIN32)
TARGET_LINK_LIBRARIES(sdl_extensions_audio_music vorbisfile vorbis ogg)
else(WIN32)
TARGET_LINK_LIBRARIES(sdl_extensions_audio_music vorbis vorbisfile)
endif(WIN32)
ENDIF(OGG)
IF(TREMOR)
TARGET_LINK_LIBRARIES(sdl_extensions_audio_music vorbisidec)
ENDIF(TREMOR)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment