From e4110e9daf7516fd7d6f678109d1b4afcc14b107 Mon Sep 17 00:00:00 2001 From: Jan Chren Date: Thu, 12 Feb 2015 00:31:16 +0100 Subject: [PATCH] enable SSE2 instructions only for x64 --- premake4.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/premake4.lua b/premake4.lua index 7063be0..1fb4079 100644 --- a/premake4.lua +++ b/premake4.lua @@ -104,7 +104,6 @@ solution "SQLite3" "FloatStrict", "NoPCH", "StaticRuntime", - "EnableSSE2", --- SSE2 instructions } defines { "_WINDOWS", @@ -145,6 +144,9 @@ solution "SQLite3" libdirs { -- "lib/icu", } + flags{ + "EnableSSE2", --- SSE2 instructions, enabled by default for x64 + } -- x64 configuration "x64"