diff -r 5087694945e4 -r 35ba7236bd67 lemon/CMakeLists.txt --- a/lemon/CMakeLists.txt Sun Nov 14 09:25:03 2010 +0100 +++ b/lemon/CMakeLists.txt Mon Nov 15 07:52:53 2010 +0100 @@ -8,6 +8,12 @@ ${CMAKE_CURRENT_BINARY_DIR}/config.h ) +CONFIGURE_FILE( + ${CMAKE_CURRENT_SOURCE_DIR}/lemon.pc.cmake + ${CMAKE_CURRENT_BINARY_DIR}/lemon.pc + @ONLY +) + SET(LEMON_SOURCES arg_parser.cc base.cc @@ -66,3 +72,9 @@ DESTINATION include/lemon COMPONENT headers ) + +INSTALL( + FILES ${CMAKE_CURRENT_BINARY_DIR}/lemon.pc + DESTINATION lib/pkgconfig +) +