plasma_add_plugin macro to simplify plugin installation
This commit is contained in:
parent
f979e1bbcb
commit
9c345e5be5
@ -14,3 +14,9 @@ macro(installPackage dir component)
|
||||
install(FILES ${dir}/metadata.desktop DESTINATION ${SERVICES_INSTALL_DIR} RENAME plasma-${type}-${component}.desktop)
|
||||
endmacro()
|
||||
|
||||
macro(plasma_add_plugin plugin)
|
||||
set(plugin_sources ${ARGN} )
|
||||
add_library(${plugin} MODULE ${plugin_sources} )
|
||||
set_target_properties(${plugin} PROPERTIES PREFIX "")
|
||||
endmacro()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user