Unbreak build WITH_INTERNATIONAL=OFF

This commit is contained in:
Campbell Barton
2025-01-22 19:39:34 +11:00
parent 46724ca841
commit acf270b216
2 changed files with 4 additions and 5 deletions

View File

@@ -5,7 +5,6 @@
set(INC
PUBLIC .
../makesrna
../../../intern/locale
)
set(INC_SYS

View File

@@ -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;