From ba09755045be12e102aeecd96d1427f6d8752594 Mon Sep 17 00:00:00 2001 From: Ryu481 <142620516+Ryu481@users.noreply.github.com> Date: Sun, 6 Jul 2025 18:35:37 +0200 Subject: [PATCH] autodetect system language on MacOS --- src/app/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt index 84bf70a63..4c007ce1e 100644 --- a/src/app/CMakeLists.txt +++ b/src/app/CMakeLists.txt @@ -94,7 +94,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Darwin") string(REPLACE ".ts" ".lproj" LPROJ_FOLDER "${LPROJ_FOLDER}") # @ is not valid as a language code for a lproj folder on MacOS string(REPLACE "@" "-" LPROJ_FOLDER "${LPROJ_FOLDER}") - add_custom_command( TARGET qbt_app POST_BUILD + add_custom_command(TARGET qbt_app POST_BUILD COMMAND ${CMAKE_COMMAND} -E make_directory "$/../Resources/${LPROJ_FOLDER}" )