Module: kamailio
Branch: master
Commit: 03f47c7e5b198a0e1be946ca8219fc978f6f54a1
URL:
https://github.com/kamailio/kamailio/commit/03f47c7e5b198a0e1be946ca8219fc9…
Author: Xenofon Karamanos <xk(a)gilawa.com>
Committer: Xenofon Karamanos <xk(a)gilawa.com>
Date: 2025-01-07T13:47:30Z
cmake/utils: Fix compile_definition instead of option
---
Modified: cmake/utils.cmake
---
Diff:
https://github.com/kamailio/kamailio/commit/03f47c7e5b198a0e1be946ca8219fc9…
Patch:
https://github.com/kamailio/kamailio/commit/03f47c7e5b198a0e1be946ca8219fc9…
---
diff --git a/cmake/utils.cmake b/cmake/utils.cmake
index a759fffa460..fdc41a3fc58 100644
--- a/cmake/utils.cmake
+++ b/cmake/utils.cmake
@@ -1,3 +1,3 @@
set(UTIL_NAME "${NAME}")
-target_compile_options(${NAME} PRIVATE MOD_NAME="utils/${UTIL_NAME}")
+target_compile_definitions(${NAME} PRIVATE MOD_NAME="utils/${UTIL_NAME}")