From a8a0da6ced0a4925aeec6833beab238aa1290326 Mon Sep 17 00:00:00 2001 From: Rongsong Shen Date: Fri, 5 Sep 2025 15:49:06 +0800 Subject: [PATCH] fix pkgconfig data --- CMakeLists.txt | 2 +- c-capnproto.pc.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a31d809..a6c0313 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ else() endif() project(c-capnproto LANGUAGES ${languages}) -configure_file(c-capnproto.pc.in c-capnproto.pc) +configure_file(c-capnproto.pc.in c-capnproto.pc @ONLY) include(CTest) diff --git a/c-capnproto.pc.in b/c-capnproto.pc.in index 901ecbe..8924d17 100644 --- a/c-capnproto.pc.in +++ b/c-capnproto.pc.in @@ -1,8 +1,8 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} -libdir=${@CMAKE_INSTALL_LIBDIR@} +libdir=${prefix}/lib bindir=${prefix}/bin -includedir=${@CMAKE_INSTALL_INCLUDEDIR@} +includedir=${prefix}/include codegen=${bindir}/capnpc-c Name: c-capnproto