mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
Fix tomahawk_add_plugin macro
This commit is contained in:
@@ -4,7 +4,7 @@ include( ${TOMAHAWK_CMAKE_DIR}/TomahawkAddLibrary.cmake )
|
||||
function(tomahawk_add_plugin)
|
||||
# parse arguments (name needs to be saved before passing ARGN into the macro)
|
||||
set(NAME ${ARGV0})
|
||||
set(options NO_INSTALL)
|
||||
set(options NO_INSTALL SHARED_LIB)
|
||||
set(oneValueArgs NAME TYPE EXPORT_MACRO)
|
||||
set(multiValueArgs SOURCES UI LINK_LIBRARIES COMPILE_DEFINITIONS)
|
||||
cmake_parse_arguments(PLUGIN "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
|
Reference in New Issue
Block a user