Merge branch 'master' into blender2.8
[blender.git] / build_files / cmake / macros.cmake
index a38a6805274d67589849a7057971fbeec7a6a908..6157730af8edba9c0e2fa9ecf5cf446d8ac26b7c 100644 (file)
@@ -352,6 +352,11 @@ function(SETUP_LIBDIRS)
        endif()
 endfunction()
 
+macro(setup_platform_linker_flags)
+       set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${PLATFORM_LINKFLAGS}")
+       set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} ${PLATFORM_LINKFLAGS_DEBUG}")
+endmacro()
+
 function(setup_liblinks
        target
        )