From c82e25f7f245c17ab3c1914139450a39c4d422ae Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Tue, 3 Dec 2019 17:53:56 +1300 Subject: [PATCH] Some minor cleaning up. --- cmake/common.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/common.cmake b/cmake/common.cmake index 4539cf29b9..39327c16fb 100644 --- a/cmake/common.cmake +++ b/cmake/common.cmake @@ -83,6 +83,9 @@ endmacro() macro(update_language_files TARGET_NAME) # Update the translation (.ts) files (if they exist) and generate the # language (.qm) files, which will later on be embedded in the project + # Note: we use ERROR_QUIET with lupdate because it does generate some + # "errors" for our .cpp.inl files even though everything is fine with + # them... set(LANGUAGES fr) set(INPUT_FILES) @@ -101,7 +104,8 @@ macro(update_language_files TARGET_NAME) -ts ${TS_FILE} -I ${CMAKE_SOURCE_DIR}/src/misc WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} - OUTPUT_QUIET) + OUTPUT_QUIET + ERROR_QUIET) execute_process(COMMAND ${QT_BINARY_DIR}/lrelease ${PROJECT_SOURCE_DIR}/${TS_FILE} -qm ${QM_FILE} OUTPUT_QUIET)