1.1 --- a/lemon/CMakeLists.txt Sun Nov 14 09:25:03 2010 +0100
1.2 +++ b/lemon/CMakeLists.txt Mon Nov 15 07:52:53 2010 +0100
1.3 @@ -8,6 +8,12 @@
1.4 ${CMAKE_CURRENT_BINARY_DIR}/config.h
1.5 )
1.6
1.7 +CONFIGURE_FILE(
1.8 + ${CMAKE_CURRENT_SOURCE_DIR}/lemon.pc.cmake
1.9 + ${CMAKE_CURRENT_BINARY_DIR}/lemon.pc
1.10 + @ONLY
1.11 +)
1.12 +
1.13 SET(LEMON_SOURCES
1.14 arg_parser.cc
1.15 base.cc
1.16 @@ -66,3 +72,9 @@
1.17 DESTINATION include/lemon
1.18 COMPONENT headers
1.19 )
1.20 +
1.21 +INSTALL(
1.22 + FILES ${CMAKE_CURRENT_BINARY_DIR}/lemon.pc
1.23 + DESTINATION lib/pkgconfig
1.24 +)
1.25 +