Skip to content

Commit

Permalink
Fix spacing issue when enabling SoftAssert
Browse files Browse the repository at this point in the history
When ZigArgs are already set (for example for WASM or IOS build) when
enabling soft asserts -Dsoft-assert is appended right at the end, causing
the param to merge with previous one

Signed-off-by: Tomas Slusny <[email protected]>
  • Loading branch information
deathbeam committed Oct 27, 2024
1 parent 0bfb439 commit 4997427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Flecs.NET.Native/Flecs.NET.Native.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@

<!-- Enable soft asserts if configured -->
<PropertyGroup>
<ZigArgs Condition="'$(FlecsSoftAssert)' == 'True'">$(ZigArgs)-Dsoft-assert=true</ZigArgs>
<ZigArgs Condition="'$(FlecsSoftAssert)' == 'True'">$(ZigArgs) -Dsoft-assert=true</ZigArgs>
</PropertyGroup>

<!-- Here we need host not target toolset to compile/cross-compile -->
Expand Down

0 comments on commit 4997427

Please sign in to comment.