summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Villiom Podlaski Christiansen <danchr@gmail.com>2020-06-04 09:48:59 +0200
committerCharles Pigott <charlespigott@googlemail.com>2020-06-30 09:43:00 +0100
commit04c050f93ed1ea60409f53bea96a1790245851e0 (patch)
tree34043e1454b1cf18c66076b02cec543918a1ab4d
parent7045186594d947b53312a0e72c901f3889757437 (diff)
downloadopenttd-04c050f93ed1ea60409f53bea96a1790245851e0.tar.xz
Fix: don't use ICU on macOS
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 825ba3dcd..675246f5e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,7 +40,9 @@ if (NOT WIN32)
find_package(Fluidsynth)
find_package(Freetype)
find_package(Fontconfig)
- find_package(ICU OPTIONAL_COMPONENTS i18n lx)
+ if (NOT APPLE)
+ find_package(ICU OPTIONAL_COMPONENTS i18n lx)
+ endif (NOT APPLE)
find_package(XDG_basedir)
endif (NOT WIN32)
if (APPLE)