mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
Cmake will now source a file with the necessary property definitions
This commit is contained in:
2
thirdparty/qtweetlib/CMakeLists.txt
vendored
2
thirdparty/qtweetlib/CMakeLists.txt
vendored
@@ -6,6 +6,7 @@ SET(CMAKE_VERBOSE_MAKEFILE ON)
|
|||||||
SET( QT_USE_QTNETWORK TRUE )
|
SET( QT_USE_QTNETWORK TRUE )
|
||||||
INCLUDE( ${QT_USE_FILE} )
|
INCLUDE( ${QT_USE_FILE} )
|
||||||
|
|
||||||
|
|
||||||
add_definitions( ${QT_DEFINITIONS} )
|
add_definitions( ${QT_DEFINITIONS} )
|
||||||
add_definitions( -DQT_SHARED )
|
add_definitions( -DQT_SHARED )
|
||||||
|
|
||||||
@@ -171,6 +172,7 @@ target_link_libraries(tomahawk_qtweetlib
|
|||||||
)
|
)
|
||||||
|
|
||||||
SET_TARGET_PROPERTIES( tomahawk_qtweetlib PROPERTIES DEFINE_SYMBOL MAKE_QTWEETLIB_LIB )
|
SET_TARGET_PROPERTIES( tomahawk_qtweetlib PROPERTIES DEFINE_SYMBOL MAKE_QTWEETLIB_LIB )
|
||||||
|
include ( ${CMAKE_CURRENT_SOURCE_DIR}/WARNING-twitter-api-keys )
|
||||||
|
|
||||||
INSTALL(TARGETS tomahawk_qtweetlib DESTINATION lib)
|
INSTALL(TARGETS tomahawk_qtweetlib DESTINATION lib)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user