Commit c6e8c696 authored by Branislav Katreniak's avatar Branislav Katreniak

cmake: add capnp-rpc link dependency on capnp

This dependency exists in Makefile.am
parent c531f9d0
......@@ -93,7 +93,7 @@ set(capnp-rpc_schemas
)
if(NOT CAPNP_LITE)
add_library(capnp-rpc ${capnp-rpc_sources})
target_link_libraries(capnp-rpc kj-async kj)
target_link_libraries(capnp-rpc capnp kj-async kj)
install(TARGETS capnp-rpc ${INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES ${capnp-rpc_headers} ${capnp-rpc_schemas} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/capnp")
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment