Module: kamailio
Branch: master
Commit: 8ce9abf4175498fe3ae870382eeaf1ee8da11bb0
URL: 
https://github.com/kamailio/kamailio/commit/8ce9abf4175498fe3ae870382eeaf1ee8da11bb0

Author: Henning Westerholt <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date: 2025-12-09T09:19:19Z

auth_web3: use default CMakeList.txt as for other curl based modules, build 
tested

---

Modified: src/modules/auth_web3/CMakeLists.txt

---

Diff:  
https://github.com/kamailio/kamailio/commit/8ce9abf4175498fe3ae870382eeaf1ee8da11bb0.diff
Patch: 
https://github.com/kamailio/kamailio/commit/8ce9abf4175498fe3ae870382eeaf1ee8da11bb0.patch

---

diff --git a/src/modules/auth_web3/CMakeLists.txt 
b/src/modules/auth_web3/CMakeLists.txt
index 59d74edec13..d404a5e136a 100644
--- a/src/modules/auth_web3/CMakeLists.txt
+++ b/src/modules/auth_web3/CMakeLists.txt
@@ -1,11 +1,7 @@
-set(module_name "auth_web3")
-
 file(GLOB MODULE_SOURCES "*.c")
 
-find_package(CURL REQUIRED)
+add_library(${module_name} SHARED ${MODULE_SOURCES})
 
-add_library(${module_name} MODULE ${MODULE_SOURCES})
+find_package(CURL REQUIRED)
 
-target_compile_definitions(${module_name} PRIVATE KAMAILIO_MOD_INTERFACE)
-target_include_directories(${module_name} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
 target_link_libraries(${module_name} PRIVATE CURL::libcurl)

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to