diff options
author | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2017-08-28 15:52:06 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:47 +0200 |
commit | cf543cebe8dedae530728255777f5c56ecdad933 (patch) | |
tree | 3fed00c006cf0e922d49bf21a2c34f72b3041500 /cmake/cmake.d | |
parent | e96553f68730a27dcb603dfe7253131ceeae69f0 (diff) |
Fix deb packaging pkgconfig dependency
* dpkg must be use to find the package whose provides
the .pc file
Change-Id: I475559264c5dd1116e773a6842889cfd230917a0
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'cmake/cmake.d')
-rw-r--r-- | cmake/cmake.d/04-extra_targets.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/cmake.d/04-extra_targets.cmake b/cmake/cmake.d/04-extra_targets.cmake index 4e7921a..d66c87f 100644 --- a/cmake/cmake.d/04-extra_targets.cmake +++ b/cmake/cmake.d/04-extra_targets.cmake @@ -75,7 +75,7 @@ foreach (PKG_CONFIG ${PKG_REQUIRED_LIST}) # Only doable within a native environment not under SDK if( OSRELEASE MATCHES "debian" AND NOT DEFINED ENV{SDKTARGETSYSROOT} AND NOT DEFINED CMAKE_TOOLCHAIN_FILE) execute_process( - COMMAND pkg-config --print-provides ${XPREFIX} + COMMAND dpkg -S *${XPREFIX}.pc OUTPUT_VARIABLE TMP_PKG_BIN ) if(TMP_PKG_BIN) |