[Bf-blender-cvs] [db750b9] master: Add missing dependency to CMake's msgfmt
Sergey Sharybin
noreply at git.blender.org
Mon Jun 16 10:05:05 CEST 2014
Commit: db750b984332fc303f5d69364045cf1fd3a044e6
Author: Sergey Sharybin
Date: Mon Jun 16 13:21:33 2014 +0600
https://developer.blender.org/rBdb750b984332fc303f5d69364045cf1fd3a044e6
Add missing dependency to CMake's msgfmt
This could have lead to situation when CMake wouldn't re-generate
.mo file from changed .po file.
===================================================================
M build_files/cmake/macros.cmake
===================================================================
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index 772ff6d..bdd3883 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -1006,7 +1006,7 @@ macro(msgfmt_simple
OUTPUT ${_file_to}
COMMAND ${CMAKE_COMMAND} -E make_directory ${_file_to_path}
COMMAND ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/msgfmt ${_file_from} ${_file_to}
- DEPENDS msgfmt)
+ DEPENDS msgfmt ${_file_from})
set_source_files_properties(${_file_to} PROPERTIES GENERATED TRUE)
More information about the Bf-blender-cvs
mailing list