From dbc4ac170bbecbd17115366dfa56e233281a3917 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Wed, 31 May 2017 16:17:23 +0200 Subject: [PATCH] [Premake] Get rid of protobufs linker warnings --- premake/protobuf.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/premake/protobuf.lua b/premake/protobuf.lua index dab48760..256b1b4f 100644 --- a/premake/protobuf.lua +++ b/premake/protobuf.lua @@ -61,6 +61,7 @@ function protobuf.project() -- not our code, ignore POSIX usage warnings for now defines { "_SCL_SECURE_NO_WARNINGS" } warnings "Off" + linkoptions { "-IGNORE:4221" } -- always build as static lib, as we include our custom classes and therefore can't perform shared linking kind "StaticLib"