From e9b779f8328415b37d4871f7f362dcd21dfab513 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 17 Jan 2011 09:47:09 +0100 Subject: [PATCH] * Link to audio libraries on non-win32, too. --- src/libtomahawk/CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/libtomahawk/CMakeLists.txt b/src/libtomahawk/CMakeLists.txt index a592c6505..5e3b3c628 100644 --- a/src/libtomahawk/CMakeLists.txt +++ b/src/libtomahawk/CMakeLists.txt @@ -234,10 +234,7 @@ SET( OS_SPECIFIC_LINK_LIBRARIES "dnsapi.dll" "dsound.dll" "winmm.dll" - "mad" - "vorbisfile" - "ogg" - "FLAC++" + "${CMAKE_CURRENT_SOURCE_DIR}/../../rtaudio/librtaudio.dll" ) ENDIF( WIN32 ) @@ -279,6 +276,10 @@ target_link_libraries( tomahawklib ${OS_SPECIFIC_LINK_LIBRARIES} portfwd qjson + mad + vorbisfile + ogg + FLAC++ ) install( TARGETS tomahawklib DESTINATION lib )