mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-13 12:31:52 +02:00
Fix qtweetlib qjson linking too
This commit is contained in:
parent
80223e6b2a
commit
1780781e12
10
thirdparty/qtweetlib/CMakeLists.txt
vendored
10
thirdparty/qtweetlib/CMakeLists.txt
vendored
@ -172,10 +172,16 @@ qt4_wrap_cpp( TOMAHAWK_QTWEETLIB_MOC ${TOMAHAWK_QTWEETLIB_HEADERS} )
|
||||
|
||||
ADD_LIBRARY(tomahawk_qtweetlib SHARED ${TOMAHAWK_QTWEETLIB_SOURCES} ${TOMAHAWK_QTWEETLIB_MOC})
|
||||
|
||||
if(APPLE)
|
||||
SET(QJSON_FLAGS ${QJSON_LIBRARIES})
|
||||
else(APPLE)
|
||||
SET(QJSON_FLAGS ${QJSON_LDFLAGS})
|
||||
endif(APPLE)
|
||||
|
||||
target_link_libraries(tomahawk_qtweetlib
|
||||
${QT_LIBRARIES}
|
||||
${QJSON_LIBRARIES}
|
||||
)
|
||||
${QJSON_FLAGS}
|
||||
)
|
||||
|
||||
INCLUDE( ${CMAKE_CURRENT_SOURCE_DIR}/twitter-api-keys )
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user