commit c23ef7dad95b1a0bbc17c1b4d152a1bc9f9badd3
parent 2d50c880397639d8d939812dc1d4f14804f14c22
Author: Jean Pierre Cimalando <jp-dev@inbox.ru>
Date: Fri, 21 May 2021 21:25:56 +0200
cmake: some changes of minor importance
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/cmake/DPF-plugin.cmake b/cmake/DPF-plugin.cmake
@@ -110,6 +110,8 @@ function(dpf_add_plugin NAME)
dpf__build_lv2("${NAME}" "${_dgl_library}" "${_dpf_plugin_MONOLITHIC}")
elseif(_target STREQUAL "vst")
dpf__build_vst("${NAME}" "${_dgl_library}")
+ else()
+ message(FATAL_ERROR "Unrecognized target type for plugin: ${_target}")
endif()
endforeach()
endfunction()
@@ -416,7 +418,7 @@ endfunction()
# dpf__add_static_library
# ------------------------------------------------------------------------------
#
-# Adds a module target, and set some default properties on the target.
+# Adds a static library target, and set some default properties on the target.
#
function(dpf__add_static_library NAME)
add_library("${NAME}" STATIC ${ARGN})