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

25 lines
577 B
CMake
Raw Normal View History

# jsonrpc
add_library(jsonrpc STATIC
2020-02-29 01:44:26 +00:00
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
2020-02-29 01:44:26 +00:00
lib/jsonrpc/src
)
target_include_directories(jsonrpc PUBLIC
lib/jsonrpc/include
)
set_target_properties(jsonrpc PROPERTIES C_VISIBILITY_PRESET hidden)