From 8e50c8d618f163a0cc27762cc79e55e3925d88c9 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sat, 27 Jul 2024 02:28:49 -0500 Subject: [PATCH] this is a terrible hack --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a08f9d9f5..b7bc35433 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1074,6 +1074,7 @@ if (WITH_LOCALE) message(FATAL_ERROR "Could not find libintl! Try enabling USE_MOMO.") endif() list(APPEND DEPENDENCIES_DEFINES HAVE_LOCALE) + list(APPEND DEPENDENCIES_DEFINES GNULIB_overrides_sprintf) list(APPEND DEPENDENCIES_INCLUDE_DIRS ${Intl_INCLUDE_DIRS}) list(APPEND DEPENDENCIES_LIBRARIES ${Intl_LIBRARIES}) message(STATUS "Using libintl (system)")