Subject: Install .pc file.
Author: Vincent Bernat <bernat@debian.org>
Forwarded: https://github.com/ellzey/libevhtp/pull/166

Index: libevhtp/CMakeLists.txt
===================================================================
--- libevhtp.orig/CMakeLists.txt
+++ libevhtp/CMakeLists.txt
@@ -322,6 +322,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")
 
 message(STATUS "CMAKE_BUILD_TYPE         : " ${CMAKE_BUILD_TYPE})
 message(STATUS "CMAKE_BINARY_DIR         : " ${CMAKE_BINARY_DIR})
