Module: kamailio
Branch: master
Commit: f7dfe8d794c0faa22978feaa60691b10b5c1651b
URL:
https://github.com/kamailio/kamailio/commit/f7dfe8d794c0faa22978feaa60691b1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-12-04T11:35:08+01:00
nats: CMakeLists.txt - added dependency on libuv
---
Modified: src/modules/nats/CMakeLists.txt
---
Diff:
https://github.com/kamailio/kamailio/commit/f7dfe8d794c0faa22978feaa60691b1…
Patch:
https://github.com/kamailio/kamailio/commit/f7dfe8d794c0faa22978feaa60691b1…
---
diff --git a/src/modules/nats/CMakeLists.txt b/src/modules/nats/CMakeLists.txt
index 2faad56bfe7..fd3c7a480ee 100644
--- a/src/modules/nats/CMakeLists.txt
+++ b/src/modules/nats/CMakeLists.txt
@@ -5,8 +5,10 @@ project(nats)
find_package(PkgConfig REQUIRED)
pkg_check_modules(nats REQUIRED IMPORTED_TARGET libnats)
add_library(nats::libnats ALIAS PkgConfig::nats)
+pkg_check_modules(uv REQUIRED IMPORTED_TARGET libuv)
+add_library(uv::libuv ALIAS PkgConfig::uv)
file(GLOB SRC_FILES "*.c")
add_library(nats SHARED ${SRC_FILES})
-target_link_libraries(nats PRIVATE kamailio nats::libnats)
+target_link_libraries(nats PRIVATE kamailio nats::libnats uv::libuv)