diff options
Diffstat (limited to 'cmake')
-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}") |