mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 21:17:29 +03:00

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>
15 lines
320 B
Plaintext
15 lines
320 B
Plaintext
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
libdir=${exec_prefix}/lib@LIB_SUFFIX@
|
|
includedir=${prefix}/include
|
|
|
|
Name: upm-@libname@
|
|
Description: upm lib @libname@
|
|
Version: @upm_VERSION_STRING@
|
|
|
|
Libs: -L${libdir} -lupm-@libname@
|
|
Cflags: -I${includedir}/upm
|
|
|
|
Requires: @reqlibname@
|
|
Requires.private: @reqplibname@
|