From b2befa48e38a9738c97501e180d1296e3323b4a9 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 4 Dec 2014 10:49:08 -0800 Subject: Create pkg-config file as part of build procedure. Closes #234. --- src/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e0fc66e..d9af586 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -60,6 +60,11 @@ else(MSVC) ${CMAKE_CURRENT_SOURCE_DIR}/scanners.re ) endif(MSVC) +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libcmark.pc.in + ${CMAKE_CURRENT_BINARY_DIR}/libcmark.pc @ONLY) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libcmark.pc + DESTINATION lib/pkgconfig) + include (GenerateExportHeader) add_executable(${PROGRAM} ${PROGRAM_SOURCES}) -- cgit v1.2.3