Configured celt build to use sse2 on osx and x87 on windows and linux.
This matches how valve has the library built.
This commit is contained in:
parent
1801dce4b2
commit
24fb8be512
@ -7,6 +7,16 @@ group "external"
|
|||||||
language "C"
|
language "C"
|
||||||
location (_ACTION .. "/" .. project().name)
|
location (_ACTION .. "/" .. project().name)
|
||||||
|
|
||||||
|
-- disable sse and sse2 for valve binary compat.
|
||||||
|
-- the osx build of vaudio_celt uses sse2
|
||||||
|
configuration "windows"
|
||||||
|
buildoptions "/arch:IA32"
|
||||||
|
configuration "linux"
|
||||||
|
buildoptions "-mfpmath=387"
|
||||||
|
configuration "macosx"
|
||||||
|
buildoptions { "-mfpmath=sse", "-msse2" }
|
||||||
|
configuration {}
|
||||||
|
|
||||||
defines
|
defines
|
||||||
{
|
{
|
||||||
"CUSTOM_MODES",
|
"CUSTOM_MODES",
|
||||||
|
Loading…
Reference in New Issue
Block a user