From 808875b0d50d551f7f04eac9498b1a6a32bb72b8 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 16 Jun 2024 05:27:47 -0500 Subject: [PATCH] USE_MOMO enabled on macOS --- CMakeLists.txt | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5008b1d15..dee740fc9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,7 +99,7 @@ set(WITH_LOCALE_DEFAULT ON) try_compile(HAVE_SETLOCALE ${CMAKE_BINARY_DIR}/check SOURCES ${CMAKE_SOURCE_DIR}/src/check/check_setlocale.c) include(FindIntl) -if (HAVE_SETLOCALE AND Intl_FOUND) +if (HAVE_SETLOCALE AND Intl_FOUND AND NOT APPLE) set(USE_MOMO_DEFAULT OFF) else() set(USE_MOMO_DEFAULT ON) diff --git a/README.md b/README.md index e0feaffa9..e3991ea5b 100644 --- a/README.md +++ b/README.md @@ -289,7 +289,7 @@ Available options: (\*\*) but consider enabling this & reporting any errors that arise from it! -(\*\*\*) enabled by default if building with MSVC, or macOS, or Android +(\*\*\*) enabled by default if both libintl and setlocale aren't present (MSVC and Android), or on macOS ## CMake Error