Commit: 3895c1e57eab6f9273861199b6746dd6950b14a8
Author: Campbell Barton
Date:   Fri Aug 11 08:13:16 2017 +1000
Branches: master
https://developer.blender.org/rB3895c1e57eab6f9273861199b6746dd6950b14a8

CMake: only build msgfmt if international is used

Changes to BLI would always rebuild msgfmt.

===================================================================

M       source/blender/blentranslation/CMakeLists.txt

===================================================================

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()

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to