1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00
falk-werner_webfuse/cmake/jsonrpc.cmake
2020-02-29 02:44:26 +01:00

20 lines
465 B
CMake

# jsonrpc
add_library(jsonrpc STATIC
lib/jsonrpc/src/jsonrpc/api.c
lib/jsonrpc/src/jsonrpc/impl/proxy.c
lib/jsonrpc/src/jsonrpc/impl/server.c
lib/jsonrpc/src/jsonrpc/impl/method.c
lib/jsonrpc/src/jsonrpc/impl/request.c
lib/jsonrpc/src/jsonrpc/impl/response.c
lib/jsonrpc/src/jsonrpc/impl/error.c
)
target_include_directories(jsonrpc PUBLIC
lib/jsonrpc/include
lib/jsonrpc/src
lib
)
set_target_properties(jsonrpc PROPERTIES C_VISIBILITY_PRESET hidden)