diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-11 01:13:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-11 01:14:04 +0300 |
commit | 3895c1e57eab6f9273861199b6746dd6950b14a8 (patch) | |
tree | 49bce60111c795d47db0a0d872f5b8a6e3eb016f | |
parent | aa1b35bb60d1d559f00095ed895a0c1884193a39 (diff) |
CMake: only build msgfmt if international is used
Changes to BLI would always rebuild msgfmt.
-rw-r--r-- | source/blender/blentranslation/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 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() |