summaryrefslogtreecommitdiffstats
path: root/Modules/FindICU.cmake
diff options
context:
space:
mode:
authorFrancois Budin <francois.budin@kitware.com>2017-10-25 20:20:19 (GMT)
committerFrancois Budin <francois.budin@kitware.com>2017-10-25 20:20:19 (GMT)
commit606ece67ef971af6fcd11051ae9d5aab7c07027c (patch)
tree3f8b6dbd5379a1fbd140d041542401551ec74d10 /Modules/FindICU.cmake
parent054a47c46d65a14e4acf3cca1ed683f70a15eb42 (diff)
downloadCMake-606ece67ef971af6fcd11051ae9d5aab7c07027c.zip
CMake-606ece67ef971af6fcd11051ae9d5aab7c07027c.tar.gz
CMake-606ece67ef971af6fcd11051ae9d5aab7c07027c.tar.bz2
FindICU: Search in 'sbin' directories for icu tools
On Ubuntu, several binaries that FindICU.cmake searches for are installed in 'sbin' instead of 'bin' [1]. [1] https://packages.ubuntu.com/xenial/amd64/icu-devtools/filelist
Diffstat (limited to 'Modules/FindICU.cmake')
-rw-r--r--Modules/FindICU.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindICU.cmake b/Modules/FindICU.cmake
index d9705d9..3021167 100644
--- a/Modules/FindICU.cmake
+++ b/Modules/FindICU.cmake
@@ -156,7 +156,7 @@ function(_ICU_FIND)
# Find all ICU programs
- list(APPEND icu_binary_suffixes "${_bin64}" "bin")
+ list(APPEND icu_binary_suffixes "${_bin64}" "bin" "sbin")
foreach(program ${icu_programs})
string(TOUPPER "${program}" program_upcase)
set(cache_var "ICU_${program_upcase}_EXECUTABLE")