From c36a473e1c05beedb1ee98f2085d255eb2998d8b Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 3 May 2024 09:10:44 -0400 Subject: [PATCH] build: Install the pman library and its header. This is needed when linking to the static scap library, as its pkg-config file contains an '-lpman' directive. * userspace/libpman/CMakeLists.txt: New install target. Signed-off-by: Maxim Cournoyer --- userspace/libpman/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/userspace/libpman/CMakeLists.txt b/userspace/libpman/CMakeLists.txt index da92e9f275..4b57365feb 100644 --- a/userspace/libpman/CMakeLists.txt +++ b/userspace/libpman/CMakeLists.txt @@ -58,3 +58,6 @@ endif() if(USE_BUNDLED_LIBBPF) add_dependencies(pman libbpf) endif() + +install(TARGETS pman LIBRARY ARCHIVE FRAMEWORK) +install(FILES include/libpman.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})