1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-13 17:43:59 +02:00

Restructure libtomahawk link targets

This commit is contained in:
Dominik Schmidt
2011-02-21 13:35:02 +01:00
parent 8fb19bf84d
commit 06c168f321

View File

@@ -323,14 +323,15 @@ SET( libHeaders ${libHeaders} audio/rtaudiooutput.h )
SET( OS_SPECIFIC_LINK_LIBRARIES
${OS_SPECIFIC_LINK_LIBRARIES}
# Thirdparty
${CMAKE_BINARY_DIR}/rtaudio/librtaudio.dll
# System
"iphlpapi.a"
"ws2_32.dll"
"dnsapi.dll"
"dsound.dll"
"winmm.dll"
"advapi32.dll"
${CMAKE_BINARY_DIR}/rtaudio/librtaudio.dll
)
ENDIF( WIN32 )
@@ -344,16 +345,18 @@ SET( libHeaders ${libHeaders} audio/rtaudiooutput.h )
SET( OS_SPECIFIC_LINK_LIBRARIES
${OS_SPECIFIC_LINK_LIBRARIES}
# Thirdparty
rtaudio
# System
${COREAUDIO_LIBRARY}
${COREFOUNDATION_LIBRARY}
rtaudio
)
ENDIF( APPLE )
IF( UNIX AND NOT APPLE )
SET( OS_SPECIFIC_LINK_LIBRARIES
${OS_SPECIFIC_LINK_LIBRARIES}
# Thirdparty
alsaplayback
)
ENDIF( UNIX AND NOT APPLE )
@@ -366,18 +369,25 @@ SET( libSources ${libSources} ${libUI_H} ${libHeaders_NoMOC} )
add_library( tomahawklib SHARED ${libSources} ${libMoc} )
target_link_libraries( tomahawklib
# Internal
tomahawk_jdns
tomahawk_qtweetlib
# Thirdparty shipped with tomahawk
portfwd
# soon to be removed by phonon-dependency
FLAC++
ogg
vorbisfile
mad
# External deps
${QJSON_LIBRARIES}
${CLUCENE_LIBRARY}
${LIBECHONEST_LIBRARY}
${QT_LIBRARIES}
${OS_SPECIFIC_LINK_LIBRARIES}
${LIBECHONEST_LIBRARY}
tomahawk_jdns
portfwd
qjson
mad
vorbisfile
ogg
FLAC++
tomahawk_qtweetlib
${CLUCENE_LIBRARY}
)
install( TARGETS tomahawklib DESTINATION lib )