mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
added libuv as dependency
This commit is contained in:
parent
aa41fb3a6e
commit
d8c783aa82
@ -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}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user