Commit 3aace69f authored by mercury233's avatar mercury233

fix

parent a258928c
...@@ -165,9 +165,7 @@ workspace "YGOPro" ...@@ -165,9 +165,7 @@ workspace "YGOPro"
end end
filter "system:macosx" filter "system:macosx"
architecture "universal"
libdirs { "/usr/local/lib" } libdirs { "/usr/local/lib" }
--buildoptions { "-stdlib=libc++" }
if MAC_ARM then if MAC_ARM then
buildoptions { "--target=arm64-apple-macos12" } buildoptions { "--target=arm64-apple-macos12" }
end end
...@@ -197,9 +195,9 @@ workspace "YGOPro" ...@@ -197,9 +195,9 @@ workspace "YGOPro"
filter { "configurations:Release", "not action:vs*" } filter { "configurations:Release", "not action:vs*" }
symbols "On" symbols "On"
defines "NDEBUG" defines "NDEBUG"
--if not MAC_ARM then if not MAC_ARM then
-- buildoptions "-march=native" buildoptions "-march=native"
--end end
filter { "configurations:Debug", "action:vs*" } filter { "configurations:Debug", "action:vs*" }
disablewarnings { "6011", "6031", "6054", "6262" } disablewarnings { "6011", "6031", "6054", "6262" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment