Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
build: install evhtp.pc in /usr/lib/pkgconfig
Browse files Browse the repository at this point in the history
Without installing it, it is easy to miss this useful file.
  • Loading branch information
vincentbernat committed Apr 26, 2015
1 parent e456fe0 commit 0400ce0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ ENDIF (WIN32)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/evhtp.pc.in
${CMAKE_CURRENT_BINARY_DIR}/evhtp.pc @ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/evhtp.pc"
DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")

# add_definitions() calls do not show up in the C_FLAGS var
# it is instead a property of COMPILE_DEFINITIONS.
Expand Down

0 comments on commit 0400ce0

Please sign in to comment.