aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindICU.cmake
blob: d033d0df7677c7f6a3201c6f3378e09d5a18aa50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
include(PkgConfigWithFallback)
find_pkg_config_with_fallback(ICU
    PKG_CONFIG_NAME icu-uc
    LIB_NAMES icuuc icudata
    INCLUDE_NAMES unicode/umachine.h
)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(ICU
    REQUIRED_VARS ICU_LIBRARY
    VERSION_VAR ICU_VERSION)