From e1e6dcfc33c45c08af23ff60ada8e2f79285c889 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Mon, 19 Oct 2015 20:32:12 +0300 Subject: [PATCH] Configure pkg-config.pc outside of the backbone's cmake submodule. --- cmake/backbone | 2 +- pkg-config/CMakeLists.txt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cmake/backbone b/cmake/backbone index 85724cb..df96ceb 160000 --- a/cmake/backbone +++ b/cmake/backbone @@ -1 +1 @@ -Subproject commit 85724cbd4ef273ab6ce06507013dc5e6087023a6 +Subproject commit df96ceb0b067844d341f0405db7c10def84d772c diff --git a/pkg-config/CMakeLists.txt b/pkg-config/CMakeLists.txt index 99b14e6..d349889 100644 --- a/pkg-config/CMakeLists.txt +++ b/pkg-config/CMakeLists.txt @@ -1 +1,6 @@ INCLUDE (PkgConfigCommonRules) + +CONFIGURE_FILE ( + "${CMAKE_SOURCE_DIR}/cmake/backbone/templates/pkg-config.pc.in" + "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_LOWERCASE_NAME}-${MAJOR}.pc" +)