Skip to content

Commit

Permalink
Fix failing translation file import (fixes recent commit 6304cdc)
Browse files Browse the repository at this point in the history
Contribution Sponsor: Firestorm (launchfirestorm.com)
  • Loading branch information
gillamkid authored and HTRamsey committed Sep 23, 2024
1 parent 98350a1 commit ad472f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,10 @@ qt_add_executable(${PROJECT_NAME}
if(Qt6LinguistTools_FOUND)
# TODO: Update to new qt_add_translations form in Qt6.7
file(GLOB TS_SOURCES ${CMAKE_SOURCE_DIR}/translations/qgc_*.ts)
set_source_files_properties(${TS_SOURCES} PROPERTIES OUTPUT_LOCATION "${CMAKE_BINARY_DIR}/translations")
set_source_files_properties(${TS_SOURCES} PROPERTIES OUTPUT_LOCATION "${CMAKE_BINARY_DIR}/i18n")
qt_add_translations(${PROJECT_NAME}
TS_FILES ${TS_SOURCES}
RESOURCE_PREFIX "/i18n"
RESOURCE_PREFIX "/"
LUPDATE_OPTIONS -no-obsolete
)
endif()
Expand Down

0 comments on commit ad472f0

Please sign in to comment.