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

Have proper visibility of the libraries instead of assuming it's only needed on WIN32

This commit is contained in:
Jeff Mitchell
2011-03-24 15:54:57 -04:00
parent 5ce659fb00
commit 6d92d158bb
2 changed files with 9 additions and 11 deletions

View File

@@ -9,10 +9,10 @@ INCLUDE( ${QT_USE_FILE} )
add_definitions( ${QT_DEFINITIONS} )
add_definitions( -DQT_SHARED )
add_definitions( -DQTWEETLIB_MAKEDLL )
if(WIN32)
set(PLATFORM_SPECIFIC_LIBS "ws2_32.dll" "advapi32.dll" )
add_definitions( -DQTWEETLIB_MAKEDLL )
endif(WIN32)
set(TOMAHAWK_QTWEETLIB_SOURCES
@@ -176,8 +176,6 @@ target_link_libraries(tomahawk_qtweetlib
qjson
)
#SET_TARGET_PROPERTIES( tomahawk_qtweetlib PROPERTIES DEFINE_SYMBOL MAKE_QTWEETLIB_LIB )
INCLUDE( ${CMAKE_CURRENT_SOURCE_DIR}/twitter-api-keys )
INSTALL(TARGETS tomahawk_qtweetlib DESTINATION lib${LIB_SUFFIX})