Fixed translation compilation recipe.
parent
dc33ae0a54
commit
69177d5dda
|
@ -7,6 +7,6 @@ qt5_create_translation(QM_FILES ${TS_SRC_FILES} ${TS_FILES}
|
|||
OPTIONS -no-obsolete)
|
||||
# qt5_add_translation(QM_FILES ${TS_FILES})
|
||||
add_custom_target(translations ALL DEPENDS ${QM_FILES})
|
||||
add_dependencies(${CMAKE_PROJECT_NAME}-gui translations)
|
||||
add_dependencies(${CMAKE_PROJECT_NAME} translations)
|
||||
install(FILES ${QM_FILES} DESTINATION
|
||||
${CMAKE_INSTALL_DATAROOTDIR}/qt5/translations)
|
||||
|
|
Loading…
Reference in New Issue