mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +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
@ -30,6 +30,11 @@ function libtommath:project()
|
|||||||
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"),
|
||||||
path.join(folder, "libtommath/*.c")
|
path.join(folder, "libtommath/*.c")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user