From acf270b2162086c3474432e8847032288a708c97 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 22 Jan 2025 19:39:34 +1100 Subject: [PATCH] Unbreak build WITH_INTERNATIONAL=OFF --- source/blender/blentranslation/CMakeLists.txt | 1 - source/blender/blentranslation/intern/blt_lang.cc | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/source/blender/blentranslation/CMakeLists.txt b/source/blender/blentranslation/CMakeLists.txt index fe0a068a1f3..772c739b39d 100644 --- a/source/blender/blentranslation/CMakeLists.txt +++ b/source/blender/blentranslation/CMakeLists.txt @@ -5,7 +5,6 @@ set(INC PUBLIC . ../makesrna - ../../../intern/locale ) set(INC_SYS diff --git a/source/blender/blentranslation/intern/blt_lang.cc b/source/blender/blentranslation/intern/blt_lang.cc index 112807a9ad7..4bbd23975af 100644 --- a/source/blender/blentranslation/intern/blt_lang.cc +++ b/source/blender/blentranslation/intern/blt_lang.cc @@ -32,17 +32,17 @@ #include "MEM_guardedalloc.h" +#include "CLG_log.h" + +static CLG_LogRef LOG = {"translation.language"}; + #ifdef WITH_INTERNATIONAL # include "BLI_fileops.h" # include "BLI_linklist.h" -# include "CLG_log.h" - # include "messages.hh" -static CLG_LogRef LOG = {"translation.language"}; - /* Locale options. */ static const char **locales = nullptr; static int num_locales = 0;