Skip to content

Commit

Permalink
fix(installer): create install rules for qtbase translations properly
Browse files Browse the repository at this point in the history
  • Loading branch information
craftablescience committed Jan 7, 2025
1 parent 595a389 commit df3f632
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/installer/_installer.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ install(FILES
"${CMAKE_CURRENT_LIST_DIR}/.nonportable"
DESTINATION .)

install(FILES "${${PROJECT_NAME}_QTBASE_TRANSLATIONS}"
DESTINATION i18n)
foreach(${PROJECT_NAME}_QTBASE_TRANSLATION IN LISTS ${PROJECT_NAME}_QTBASE_TRANSLATIONS)
install(FILES "${${PROJECT_NAME}_QTBASE_TRANSLATION}"
DESTINATION i18n)
endforeach()

if(WIN32)
install(IMPORTED_RUNTIME_ARTIFACTS
Expand Down

0 comments on commit df3f632

Please sign in to comment.