enhance list decode & provide pkgconfig data
This commit is contained in:
parent
a86c5ab151
commit
c1fe4d4a53
3 changed files with 32 additions and 10 deletions
|
|
@ -7,6 +7,8 @@ else()
|
|||
endif()
|
||||
project(c-capnproto LANGUAGES ${languages})
|
||||
|
||||
configure_file(c-capnproto.pc.in c-capnproto.pc)
|
||||
|
||||
include(CTest)
|
||||
|
||||
# set(CMAKE_C_STANDARD 11)
|
||||
|
|
@ -168,6 +170,8 @@ if(C_CAPNPROTO_ENABLE_INSTALL)
|
|||
NAMESPACE CapnC::
|
||||
FILE CapnCConfig.cmake)
|
||||
install(FILES lib/capnp_c.h TYPE INCLUDE)
|
||||
install(FILES c-capnproto.pc
|
||||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
|
||||
endif()
|
||||
|
||||
add_subdirectory(examples/book)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue