From d8c783aa824507f2b5108ab7e1b2e28d67ec5b99 Mon Sep 17 00:00:00 2001 From: Falk Werner Date: Thu, 31 Jan 2019 20:20:05 +0100 Subject: [PATCH] added libuv as dependency --- CMakeLists.txt | 4 ++++ README.md | 1 + 2 files changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 73e8550..cffc30b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,7 @@ set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) find_package(PkgConfig REQUIRED) +pkg_check_modules(LIBUV REQUIRED libuv) pkg_check_modules(FUSE3 REQUIRED fuse3) pkg_check_modules(LWS REQUIRED libwebsockets) pkg_check_modules(JANSSON REQUIRED jansson) @@ -14,6 +15,7 @@ pkg_check_modules(JANSSON REQUIRED jansson) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pedantic -Wextra") set(EXTRA_INCLUDE_DIRS + ${LIBUV_INCLUDE_DIRS} ${FUSE3_INCLUDE_DIRS} ${LWS_INCLUDE_DIRS} ${JANSSON_INCLUDE_DIRS} @@ -21,6 +23,7 @@ set(EXTRA_INCLUDE_DIRS set(EXTRA_LIBS ${EXTRA_LIBS} + ${LIBUV_LIBRARIES} ${FUSE3_LIBRARIES} ${LWS_LIBRARIES} ${JANSSON_LIBRARIES} @@ -28,6 +31,7 @@ set(EXTRA_LIBS ) set(EXTRA_CFLAGS + ${LIBUV_CFLAGS_OTHER} ${FUSE3_CFLAGS_OTHER} ${LWS_CFLAGS_OTHER} ${JANSSON_CFLAGS_OTHER} diff --git a/README.md b/README.md index a9d61c4..46e2487 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ fuse-wsfs combines libwebsockets and libfuse. It allows ot attach a remote files # Dependencies +- [libuv](https://github.com/libuv/libuv) - [libfuse3](https://github.com/libfuse/libfuse/) - [libwebsockets](https://libwebsockets.org/) - [Jansson](https://jansson.readthedocs.io)