From cf3308c66e1f4bc881f511b55ac60b3644df7a84 Mon Sep 17 00:00:00 2001 From: aap Date: Wed, 18 Nov 2020 13:46:58 +0100 Subject: [PATCH] no static runtime for external librw --- premake5.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/premake5.lua b/premake5.lua index 51518a98..85f4d082 100644 --- a/premake5.lua +++ b/premake5.lua @@ -310,7 +310,10 @@ project "re3" linkoptions "/SAFESEH:NO" characterset ("MBCS") targetextension ".exe" - staticruntime "on" + if(_OPTIONS["with-librw"]) then + -- external librw is dynamic + staticruntime "on" + end filter "platforms:win*glfw*" staticruntime "off"