From dc8520ebec191d7ea6615b25065750533fc72ff1 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Tue, 6 Aug 2024 23:05:26 +0200 Subject: [PATCH] Move translations.pot to binary directory --- .gitignore | 1 - src/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 42604786..209058f6 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,3 @@ /dist/scripts/maketarball.sh /dist/unix/strawberry.spec /dist/windows/strawberry.nsi -src/translations/translations.pot diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 12f22ce1..792769dd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1006,7 +1006,7 @@ if(HAVE_TRANSLATIONS) add_pot(POT ${CMAKE_CURRENT_SOURCE_DIR}/translations/header - ${CMAKE_CURRENT_SOURCE_DIR}/translations/translations.pot + ${CMAKE_CURRENT_BINARY_DIR}/translations/translations.pot ${SOURCES} ${MOC} ${UIC}