From 8817724e448a297507b9ef4e41c54c75fd99b543 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 19 Aug 2024 20:08:56 -0300 Subject: [PATCH] Fix typo using ENABLE_I18N_STRINGS var --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d0197f5a6..baa16672d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -102,7 +102,7 @@ set(DATA_OUTPUT_DIR ${CMAKE_BINARY_DIR}/bin/data) ###################################################################### # Clone "strings" repo with translations into bin/data/strings.git -if(ENABLE_I18N_STRINGS_REPO) +if(ENABLE_I18N_STRINGS) include(FetchContent) find_package(Git) if(GIT_FOUND) @@ -137,7 +137,7 @@ foreach(fn ${src_data_files}) list(APPEND out_data_files ${DATA_OUTPUT_DIR}/${fn}) endforeach() -if(ENABLE_I18N_STRINGS_REPO AND GIT_FOUND) +if(ENABLE_I18N_STRINGS AND GIT_FOUND) # Copy original en.ini to strings.git/en.ini to keep it updated. We # have to manually sync the "en.ini" file in the "strings" repo from # the "aseprite" repo.