diff options
-rw-r--r-- | intern/locale/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/intern/locale/CMakeLists.txt b/intern/locale/CMakeLists.txt index 5d933f326f7..6896702fcbf 100644 --- a/intern/locale/CMakeLists.txt +++ b/intern/locale/CMakeLists.txt @@ -63,6 +63,12 @@ blender_add_lib(bf_intern_locale "${SRC}" "${INC}" "${INC_SYS}") # ----------------------------------------------------------------------------- # Build msgfmt executable + +if(CMAKE_COMPILER_IS_GNUCC) + # workaroud ld.gold linker bug + string(REPLACE "-fuse-ld=gold" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") +endif() + set(MSFFMT_SRC msgfmt.cc ) |