Module: kamailio Branch: master Commit: 58bd1b995a1bf36eb1efebbd2e091e0dc9ca716c URL: https://github.com/kamailio/kamailio/commit/58bd1b995a1bf36eb1efebbd2e091e0d...
Author: Xenofon Karamanos xk@gilawa.com Committer: Xenofon Karamanos xk@gilawa.com Date: 2024-12-19T17:49:13Z
cmake: Fix modules suffix to .so for all OS
---
Modified: src/modules/CMakeLists.txt
---
Diff: https://github.com/kamailio/kamailio/commit/58bd1b995a1bf36eb1efebbd2e091e0d... Patch: https://github.com/kamailio/kamailio/commit/58bd1b995a1bf36eb1efebbd2e091e0d...
---
diff --git a/src/modules/CMakeLists.txt b/src/modules/CMakeLists.txt index fe13a88f537..a1b474a4502 100644 --- a/src/modules/CMakeLists.txt +++ b/src/modules/CMakeLists.txt @@ -65,6 +65,8 @@ function(add_module_group group_modules) add_subdirectory(${module_path}) # Remove the 'lib' prefix from the module name set_target_properties(${module_name} PROPERTIES PREFIX "") + # Set suffix to .so always + set_target_properties(${module_name} PROPERTIES SUFFIX ".so")
# Add this policy to new so we can use target_link_libraries(... PRIVATE # ...) to link against targets defined in children directories