From 3810e7f2cbf4f5a903130b4c598f1c1c45b7ca73 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Fri, 6 Mar 2015 12:53:15 -0700 Subject: [PATCH] pkgconfig.in: allow a module to specify dependencies on another module This patch adds the Requires: @reqlibname@ and Requires.private: @reqplibname@ clauses to the src/pkgconfig.in file. This allows a UPM module to declare a dependency on another module with a line of the form: set (reqlibname "upm-somelib") and/or set (reqplibname "upm-somelib") to the CMakeLists.txt file. Signed-off-by: Jon Trulson Signed-off-by: Mihai Tudor Panu --- src/pkgconfig.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pkgconfig.in b/src/pkgconfig.in index e542f366..6020e982 100644 --- a/src/pkgconfig.in +++ b/src/pkgconfig.in @@ -9,3 +9,6 @@ Version: @upm_VERSION_STRING@ Libs: -L${libdir} -lupm-@libname@ Cflags: -I${includedir}/upm + +Requires: @reqlibname@ +Requires.private: @reqplibname@