USE_MOMO enabled on macOS
This commit is contained in:
parent
6d98e61d1f
commit
808875b0d5
|
@ -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)
|
try_compile(HAVE_SETLOCALE ${CMAKE_BINARY_DIR}/check SOURCES ${CMAKE_SOURCE_DIR}/src/check/check_setlocale.c)
|
||||||
include(FindIntl)
|
include(FindIntl)
|
||||||
|
|
||||||
if (HAVE_SETLOCALE AND Intl_FOUND)
|
if (HAVE_SETLOCALE AND Intl_FOUND AND NOT APPLE)
|
||||||
set(USE_MOMO_DEFAULT OFF)
|
set(USE_MOMO_DEFAULT OFF)
|
||||||
else()
|
else()
|
||||||
set(USE_MOMO_DEFAULT ON)
|
set(USE_MOMO_DEFAULT ON)
|
||||||
|
|
|
@ -289,7 +289,7 @@ Available options:
|
||||||
|
|
||||||
(\*\*) but consider enabling this & reporting any errors that arise from it!
|
(\*\*) 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
|
## CMake Error
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue