diff options
author | Brad King <brad.king@kitware.com> | 2019-01-25 13:04:36 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-01-25 13:05:06 (GMT) |
commit | 9a2bddb7042485a35329cf8644f8da1cbfd2398f (patch) | |
tree | 1dced6542d10dd2f4ebb6a96b074f857853dc4b3 | |
parent | a8f51555235a1a747e540a0859ab146f927dfd0b (diff) | |
parent | 26b7a8e77ecafea417a0430276533ec5e58fa33a (diff) | |
download | CMake-9a2bddb7042485a35329cf8644f8da1cbfd2398f.zip CMake-9a2bddb7042485a35329cf8644f8da1cbfd2398f.tar.gz CMake-9a2bddb7042485a35329cf8644f8da1cbfd2398f.tar.bz2 |
Merge topic 'FindICU-win64'
26b7a8e77e FindICU: Find 64-bit Windows builds under CMP0074 NEW behavior
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2859
-rw-r--r-- | Modules/FindICU.cmake | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Modules/FindICU.cmake b/Modules/FindICU.cmake index 70e10f5..e4b4909 100644 --- a/Modules/FindICU.cmake +++ b/Modules/FindICU.cmake @@ -165,7 +165,9 @@ function(_ICU_FIND) find_program("${cache_var}" "${program}" HINTS ${icu_roots} PATH_SUFFIXES ${icu_binary_suffixes} - DOC "ICU ${program} executable") + DOC "ICU ${program} executable" + NO_PACKAGE_ROOT_PATH + ) mark_as_advanced(cache_var) set("${program_var}" "${${cache_var}}" PARENT_SCOPE) endforeach() @@ -229,11 +231,15 @@ function(_ICU_FIND) find_library("${component_cache_release}" ${component_libnames} HINTS ${icu_roots} PATH_SUFFIXES ${icu_library_suffixes} - DOC "ICU ${component} library (release)") + DOC "ICU ${component} library (release)" + NO_PACKAGE_ROOT_PATH + ) find_library("${component_cache_debug}" ${component_debug_libnames} HINTS ${icu_roots} PATH_SUFFIXES ${icu_library_suffixes} - DOC "ICU ${component} library (debug)") + DOC "ICU ${component} library (debug)" + NO_PACKAGE_ROOT_PATH + ) include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) select_library_configurations(ICU_${component_upcase}) mark_as_advanced("${component_cache_release}" "${component_cache_debug}") |