1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 00:54:20 +02:00

Properly export definitions, c and cxx flags and make use of them in external consumers of libtomahawk

This commit is contained in:
Dominik Schmidt
2014-10-29 20:04:56 +01:00
parent ad59e64e74
commit 6c621ab5b3
4 changed files with 23 additions and 6 deletions

View File

@@ -52,7 +52,6 @@ function(tomahawk_add_library)
add_definitions(${QT_DEFINITIONS})
set_target_properties(${target} PROPERTIES AUTOMOC TRUE)
add_definitions(${TOMAHAWK_DEFINITIONS})
if(LIBRARY_EXPORT_MACRO)
set_target_properties(${target} PROPERTIES COMPILE_DEFINITIONS ${LIBRARY_EXPORT_MACRO})
endif()