Browse Source

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 <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
Jon Trulson 10 years ago
parent
commit
3810e7f2cb
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/pkgconfig.in

+ 3
- 0
src/pkgconfig.in View File

@@ -9,3 +9,6 @@ Version: @upm_VERSION_STRING@
9 9
 
10 10
 Libs: -L${libdir} -lupm-@libname@
11 11
 Cflags: -I${includedir}/upm
12
+
13
+Requires: @reqlibname@
14
+Requires.private: @reqplibname@