Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Dec 3, 2019
1 parent 6a8a88c commit c82e25f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmake/common.cmake
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit c82e25f

Please sign in to comment.