mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 07:42:54 +00:00
Fix debug compilation on MSVC due to libtommath requiring dead code elimination
This commit is contained in:
parent
0c4835bc36
commit
161a1924c8
5
thirdparty/libtommath.lua
vendored
5
thirdparty/libtommath.lua
vendored
@ -29,6 +29,11 @@ function libtommath:project()
|
|||||||
location "%{wks.location}/thirdparty/%{prj.name}"
|
location "%{wks.location}/thirdparty/%{prj.name}"
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
language "C"
|
language "C"
|
||||||
|
|
||||||
|
filter "configurations:Debug"
|
||||||
|
-- libtommath requires dead code elimination to work
|
||||||
|
optimize "On"
|
||||||
|
filter {}
|
||||||
|
|
||||||
files {
|
files {
|
||||||
path.join(folder, "libtommath/*.h"),
|
path.join(folder, "libtommath/*.h"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user