Skip to content

Commit

Permalink
[Premake] Fixed PR regression that would cause release builds to have…
Browse files Browse the repository at this point in the history
… DEBUG defined, this would enable validation layers and stuff like that
  • Loading branch information
PanosK92 committed Nov 18, 2023
1 parent 61983d9 commit 62da010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_scripts/premake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ function solution_configuration()
-- "Release"
filter "configurations:release"
if os.target() == "windows" then
defines { "DEBUG", "SPARTAN_RUNTIME_STATIC=1", "SPARTAN_RUNTIME_SHARED=0" }
defines { "SPARTAN_RUNTIME_STATIC=1", "SPARTAN_RUNTIME_SHARED=0" }
else
defines { "DEBUG", "SPARTAN_RUNTIME_STATIC=0", "SPARTAN_RUNTIME_SHARED=1" }
defines { "SPARTAN_RUNTIME_STATIC=0", "SPARTAN_RUNTIME_SHARED=1" }
end
flags { "MultiProcessorCompile", "LinkTimeOptimization" }
optimize "Speed"
Expand Down

0 comments on commit 62da010

Please sign in to comment.