aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-08-28 16:03:12 +0200
committerRonan Le Martret <ronan.lemartret@iot.bzh>2017-08-28 16:03:12 +0200
commit7995a0017b601a524900e231c81026c667d07273 (patch)
tree084c26bffdbac74b05b1db56a445f071738e2564
parent6829eb3ef56e7350bc793e5f54118c06780f1af7 (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.cmake2
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}")