CMake: only build msgfmt if international is used

Changes to BLI would always rebuild msgfmt.
This commit is contained in:
Campbell Barton 2017-08-11 08:13:16 +10:00
parent aa1b35bb60
commit 3895c1e57e
1 changed files with 3 additions and 1 deletions

View File

@ -61,4 +61,6 @@ endif()
blender_add_lib(bf_blentranslation "${SRC}" "${INC}" "${INC_SYS}")
add_subdirectory(msgfmt)
if(WITH_INTERNATIONAL)
add_subdirectory(msgfmt)
endif()