From ef734a869cefd9f9d7ae49b07d9b09042a868d4f Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Fri, 12 Dec 2025 21:33:14 -0500 Subject: [PATCH] build: make sure that translations are built before the source files this makes sure that the I18N tests are not run before the translation files are generated. --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 03b97a2c8..cc139fbac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -183,9 +183,12 @@ else() endif() add_subdirectory(doc) -add_subdirectory(src) + +# build translations before source, I18N unit tests fail if they are missing add_subdirectory(translations) +add_subdirectory(src) + option(BUILD_INSTALLER "Build installer" ON) if(BUILD_INSTALLER) add_subdirectory(deploy)