Fix debug compilation on MSVC due to libtommath requiring dead code elimination

This commit is contained in:
Jan committed 2023-11-19 21:07:27 +00:00
1 parent 0c4835bc36
commit 161a1924c8
1 file changed
+5
+5
View File
@@ -29,6 +29,11 @@ function libtommath:project()
location "%{wks.location}/thirdparty/%{prj.name}"
kind "StaticLib"
language "C"
filter "configurations:Debug"
-- libtommath requires dead code elimination to work
optimize "On"
filter {}
files {
path.join(folder, "libtommath/*.h"),