Module: kamailio Branch: master Commit: 47892a13b4c9c2c6a4e100ecad250d1d23b2c9a1 URL: https://github.com/kamailio/kamailio/commit/47892a13b4c9c2c6a4e100ecad250d1d23b2c9a1
Author: Xenofon Karamanos <x...@gilawa.com> Committer: Xenofon Karamanos <x...@gilawa.com> Date: 2025-08-19T17:13:50Z cmake: Add a component name for user-specified modules --- Modified: src/modules/CMakeLists.txt --- Diff: https://github.com/kamailio/kamailio/commit/47892a13b4c9c2c6a4e100ecad250d1d23b2c9a1.diff Patch: https://github.com/kamailio/kamailio/commit/47892a13b4c9c2c6a4e100ecad250d1d23b2c9a1.patch --- diff --git a/src/modules/CMakeLists.txt b/src/modules/CMakeLists.txt index b7eaccd9228..1054c09e1dd 100644 --- a/src/modules/CMakeLists.txt +++ b/src/modules/CMakeLists.txt @@ -168,8 +168,10 @@ foreach(group IN LISTS FULL_MODULE_GROUP_NAMES) # message(WARNING "Adding module group: ${group_name}") add_module_group("${group_name}" "${MODULES_IN_GROUP}") endforeach() -# Empty name to add user specified modules otherwise function will error -add_module_group(" " "${USER_MODULES_LIST}") + +# Function need first argument to be a string (empty string is fine) +# Name of group_name (cmake component name) to add user specified modules +add_module_group("user_specified_list" "${USER_MODULES_LIST}") get_property(ADDED_MODULES_LIST GLOBAL PROPERTY ADDED_MODULES_LIST) message(STATUS "Modules to be built: ${ADDED_MODULES_LIST}") _______________________________________________ Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org To unsubscribe send an email to sr-dev-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!