diff --git a/.gitignore b/.gitignore index 426047861..209058f65 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 12f22ce11..792769dd2 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}