Add create translation .ts file on Cmake

This commit is contained in:
Simon De Backer
2020-12-18 17:05:41 +01:00
parent af3772b95a
commit 2e543dd1f7

View File

@@ -71,7 +71,7 @@ find_package(
REQUIRED)
set(CMAKE_AUTOUIC_SEARCH_PATHS ${QET_DIR}/sources/ui)
qt5_create_translation(QM_FILES ${CMAKE_SOURCE_DIR} ${TS_FILES})
set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION "${QET_DIR}/lang")
qt5_add_translation(QM_FILES ${TS_FILES})