diff options
author | Callum Linden <113564339+callumlinden@users.noreply.github.com> | 2023-03-07 11:46:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 11:46:27 -0800 |
commit | 6b0b751a207737c06544ac4de13174661b1dcb35 (patch) | |
tree | 95f472eabe4407cca653af3a867808f32402551c /indra/cmake/ICU4C.cmake | |
parent | 98f0656f5c21a9469984cc8c916a1310d2fc2849 (diff) | |
parent | 4072fd84fb201e37827a6a98264fadea18fd30e4 (diff) |
Merge pull request #83 from KittyBarnett/DRTVWR-489-emoji
Drtvwr 489 emoji
Diffstat (limited to 'indra/cmake/ICU4C.cmake')
-rw-r--r-- | indra/cmake/ICU4C.cmake | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/indra/cmake/ICU4C.cmake b/indra/cmake/ICU4C.cmake new file mode 100644 index 0000000000..b51087e0e7 --- /dev/null +++ b/indra/cmake/ICU4C.cmake @@ -0,0 +1,22 @@ +# -*- cmake -*- +include(Prebuilt) + +set(ICU4C_FIND_QUIETLY ON) +set(ICU4C_FIND_REQUIRED ON) + +if (USESYSTEMLIBS) + include(FindICU4C) +else (USESYSTEMLIBS) + use_prebuilt_binary(icu4c) + if (WINDOWS) + set(ICU4C_LIBRARY icuuc) + elseif(DARWIN) + set(ICU4C_LIBRARY icuuc) + #elseif(LINUX) + # set(ICU4C_LIBRARY ...) + else() + message(FATAL_ERROR "Invalid platform") + endif() + set(ICU4C_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/unicode) + use_prebuilt_binary(dictionaries) +endif (USESYSTEMLIBS) |