summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2018-02-17 10:19:48 -0500
committerAllen Winter <allen.winter@kdab.com>2018-02-17 10:19:48 -0500
commit17f516578d842d67c90b174d5e1934700a56298c (patch)
treebc0e8fa731690e3bef5e31b48d4632e5cab693f2 /cmake
parent4e7eef4c44b15227bf5ecfbba71a368cfe2a1d84 (diff)
downloadlibical-git-17f516578d842d67c90b174d5e1934700a56298c.tar.gz
cmake/modules/FindICU.cmake - search for bin64 and lib64 folders
this is the case on Windows pre-built libICU
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindICU.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/modules/FindICU.cmake b/cmake/modules/FindICU.cmake
index bfa89feb..12a1812d 100644
--- a/cmake/modules/FindICU.cmake
+++ b/cmake/modules/FindICU.cmake
@@ -52,7 +52,9 @@ find_library(
ICU_LIBRARY
NAMES icuuc cygicuuc cygicuuc32
HINTS
+ ${icu_root}/lib64/
${icu_root}/lib/
+ ${_program_FILES_DIR}/icu/lib64/
${_program_FILES_DIR}/icu/lib/
/usr/local/opt/icu4c/lib/
DOC "Libraries to link against for the common parts of ICU"
@@ -64,7 +66,9 @@ find_program(
tmp_DIR
NAMES genccode uconv
PATHS
+ ${icu_root}/bin64/
${icu_root}/bin/
+ ${_program_FILES_DIR}/icu/bin64/
${_program_FILES_DIR}/icu/bin/
/usr/local/opt/icu4c/bin/
)