lemon/CMakeLists.txt
changeset 1034 ef200e268af2
parent 679 9c7639f3a741
child 968 53c0dd387001
equal deleted inserted replaced
15:87014a11b1cb 16:47fb3dfffde5
     4 )
     4 )
     5 
     5 
     6 CONFIGURE_FILE(
     6 CONFIGURE_FILE(
     7   ${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake
     7   ${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake
     8   ${CMAKE_CURRENT_BINARY_DIR}/config.h
     8   ${CMAKE_CURRENT_BINARY_DIR}/config.h
       
     9 )
       
    10 
       
    11 CONFIGURE_FILE(
       
    12   ${CMAKE_CURRENT_SOURCE_DIR}/lemon.pc.cmake
       
    13   ${CMAKE_CURRENT_BINARY_DIR}/lemon.pc
       
    14   @ONLY
     9 )
    15 )
    10 
    16 
    11 SET(LEMON_SOURCES
    17 SET(LEMON_SOURCES
    12   arg_parser.cc
    18   arg_parser.cc
    13   base.cc
    19   base.cc
    64 INSTALL(
    70 INSTALL(
    65   FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h
    71   FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h
    66   DESTINATION include/lemon
    72   DESTINATION include/lemon
    67   COMPONENT headers
    73   COMPONENT headers
    68 )
    74 )
       
    75 
       
    76 INSTALL(
       
    77   FILES ${CMAKE_CURRENT_BINARY_DIR}/lemon.pc
       
    78   DESTINATION lib/pkgconfig
       
    79 )
       
    80