Skip to content

Commit

Permalink
build: Install the pman library and its header.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Apteryks committed May 3, 2024
1 parent 9184dfe commit 0e603e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions userspace/libpman/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})

0 comments on commit 0e603e4

Please sign in to comment.