mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
c59b130569
properly configured for musikcube and musikcubed targets.
6 lines
291 B
CMake
6 lines
291 B
CMake
function(add_plugin plugin_name)
|
|
message(STATUS "[add-plugin] adding '${plugin_name}' to musikcube and musikcubed targets")
|
|
add_subdirectory("src/plugins/${plugin_name}")
|
|
add_dependencies(musikcube plugin_name)
|
|
add_dependencies(musikcubed plugin_name)
|
|
endfunction(add_plugin) |