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.

Signed-off-by: Maxim Cournoyer <[email protected]>
  • Loading branch information
Apteryks committed May 19, 2024
1 parent 9061331 commit c36a473
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 c36a473

Please sign in to comment.