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

25 lines
577 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_link_libraries(jsonrpc PUBLIC wf_timer)
target_include_directories(jsonrpc PRIVATE
lib/wf/timer/include
lib/jsonrpc/src
)
target_include_directories(jsonrpc PUBLIC
lib/jsonrpc/include
)
set_target_properties(jsonrpc PROPERTIES C_VISIBILITY_PRESET hidden)