mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
cmd strip white sapce
This commit is contained in:
parent
75c11132e1
commit
1fa40c5801
|
@ -84,9 +84,11 @@ if (WITH_ZIM)
|
|||
execute_process(
|
||||
COMMAND sh -c [=[brew --prefix $(brew deps libzim | grep icu4c)]=]
|
||||
OUTPUT_VARIABLE ICU_REQUIRED_BY_ZIM_PREFIX
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
COMMAND_ERROR_IS_FATAL ANY)
|
||||
message(STATUS "Found correct homebrew icu path -> ${ICU_REQUIRED_BY_ZIM_PREFIX}")
|
||||
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:${ICU_REQUIRED_BY_ZIM_PREFIX}/lib/pkgconfig")
|
||||
message(STATUS "$ENV{PKG_CONFIG_PATH}:${ICU_REQUIRED_BY_ZIM_PREFIX}/lib/pkgconfig")
|
||||
endif ()
|
||||
|
||||
pkg_check_modules(ZIM REQUIRED IMPORTED_TARGET libzim)
|
||||
|
|
Loading…
Reference in a new issue