[Bf-blender-cvs] [91a26ee745f] master: Fix build error on macOS after recent changes for file delete

Brecht Van Lommel noreply at git.blender.org
Thu Oct 10 18:30:54 CEST 2019


Commit: 91a26ee745f0d972a7abca844abd5d944b16cfa8
Author: Brecht Van Lommel
Date:   Thu Oct 10 18:30:22 2019 +0200
Branches: master
https://developer.blender.org/rB91a26ee745f0d972a7abca844abd5d944b16cfa8

Fix build error on macOS after recent changes for file delete

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

M	source/blender/blentranslation/msgfmt/CMakeLists.txt

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

diff --git a/source/blender/blentranslation/msgfmt/CMakeLists.txt b/source/blender/blentranslation/msgfmt/CMakeLists.txt
index 1b46efb1bb5..0361137f5b1 100644
--- a/source/blender/blentranslation/msgfmt/CMakeLists.txt
+++ b/source/blender/blentranslation/msgfmt/CMakeLists.txt
@@ -32,6 +32,10 @@ set(SRC
 
 add_cc_flags_custom_test(msgfmt)
 
+if(APPLE)
+  set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${PLATFORM_LINKFLAGS}")
+endif()
+
 add_executable(msgfmt ${SRC})
 
 target_link_libraries(msgfmt bf_blenlib)



More information about the Bf-blender-cvs mailing list