diff options
author | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2017-08-28 16:03:12 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:47 +0200 |
commit | 215e4b27ddf0908539d34352fbeed62f19521206 (patch) | |
tree | 181a1eec8fb966129795c4128dd2b61114e052af | |
parent | cf543cebe8dedae530728255777f5c56ecdad933 (diff) |
Fix pkgconfig parsing result
Change-Id: I1d278188126baae20ef6890ea140b2136f1a09f0
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
-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 d66c87f..1894546 100644 --- a/cmake/cmake.d/04-extra_targets.cmake +++ b/cmake/cmake.d/04-extra_targets.cmake @@ -79,7 +79,7 @@ foreach (PKG_CONFIG ${PKG_REQUIRED_LIST}) OUTPUT_VARIABLE TMP_PKG_BIN ) if(TMP_PKG_BIN) - string(REGEX REPLACE " *=.*$" "" PKG_BIN ${TMP_PKG_BIN}) + string(REGEX REPLACE ":.*$" "" PKG_BIN ${TMP_PKG_BIN}) set(DEB_PKG_DEPS "${DEB_PKG_DEPS} ${PKG_BIN} ${DEB_EXTRA_DEP}") else() message(FATAL_ERROR "-- ${Red}${XPREFIX} development files not installed. Abort.${ColourReset}") |