diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-11 03:33:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-11 03:33:39 +0300 |
commit | d1328feeb125328615bcf832cbc82d9f9a18e023 (patch) | |
tree | 9243fcdd057cb7cbc710393158a7c15c41459919 /source/blender/blentranslation | |
parent | c4201e57f36e7a5bcb711bd1a92d5b334cd40dff (diff) | |
parent | 0398ee10a1b727c63b344db3d6c8d78f6bbfd633 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/blentranslation')
-rw-r--r-- | source/blender/blentranslation/CMakeLists.txt | 4 | ||||
-rw-r--r-- | source/blender/blentranslation/msgfmt/msgfmt.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blentranslation/CMakeLists.txt b/source/blender/blentranslation/CMakeLists.txt index c0dce5b4f0d..320a784ea25 100644 --- a/source/blender/blentranslation/CMakeLists.txt +++ b/source/blender/blentranslation/CMakeLists.txt @@ -61,4 +61,6 @@ endif() blender_add_lib(bf_blentranslation "${SRC}" "${INC}" "${INC_SYS}") -add_subdirectory(msgfmt) +if(WITH_INTERNATIONAL) + add_subdirectory(msgfmt) +endif() diff --git a/source/blender/blentranslation/msgfmt/msgfmt.c b/source/blender/blentranslation/msgfmt/msgfmt.c index 487d9fee7b4..7dc8f3e71c8 100644 --- a/source/blender/blentranslation/msgfmt/msgfmt.c +++ b/source/blender/blentranslation/msgfmt/msgfmt.c @@ -452,7 +452,8 @@ static int make(const char *input_file_name, const char *output_file_name) return EXIT_SUCCESS; } -int main(int argc, char **argv) { +int main(int argc, char **argv) +{ if (argc != 3) { printf("Usage: %s <input.po> <output.mo>\n", argv[0]); return EXIT_FAILURE; |