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;