Skip to content

Commit

Permalink
Fix compilation of translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Jmgr committed Nov 9, 2024
1 parent 6b9afde commit 4514286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function(compile_translations TARGET)
# Add other translations here
)
set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION ${CMAKE_BINARY_DIR}/translations)
qt6_add_translation(${TARGET} QM_FILES ${TS_FILES})
qt6_add_translation(QM_FILES ${TS_FILES})
add_custom_target(${TARGET}_translations ALL DEPENDS ${QM_FILES})
endfunction()

Expand Down

0 comments on commit 4514286

Please sign in to comment.