1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 03:40:16 +02:00

Fix plugin macro once again to pass through COMPILE_DEFINITIONS this time

This commit is contained in:
Dominik Schmidt
2013-07-01 13:11:57 +02:00
parent 2495492035
commit d1e67c56d1

View File

@@ -43,6 +43,10 @@ function(tomahawk_add_plugin)
list(APPEND tomahawk_add_library_args "LINK_LIBRARIES" "${PLUGIN_LINK_LIBRARIES}")
endif()
if(PLUGIN_COMPILE_DEFINITIONS)
list(APPEND tomahawk_add_library_args "COMPILE_DEFINITIONS" ${PLUGIN_COMPILE_DEFINITIONS})
endif()
list(APPEND tomahawk_add_library_args "NO_VERSION")
tomahawk_add_library(${tomahawk_add_library_args})