Skip to content

Commit

Permalink
build: Fix SSE/AVX flags leaking
Browse files Browse the repository at this point in the history
Merges: #198
  • Loading branch information
misyltoad committed Aug 15, 2024
1 parent 08bb865 commit 77c2131
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions joltphysics/joltphysics_avx2.vpc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

$Macro PROJNAME "joltphysics_avx2"

$Conditional VOLT_SSE2 "0"
$Conditional VOLT_SSE42 "0"
$Conditional VOLT_AVX2 "1"
$Macro VOLTARCH "AVX2"

Expand Down
2 changes: 2 additions & 0 deletions joltphysics/joltphysics_sse2.vpc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
$Macro PROJNAME "joltphysics_sse2"

$Conditional VOLT_SSE2 "1"
$Conditional VOLT_SSE42 "0"
$Conditional VOLT_AVX2 "0"
$Macro VOLTARCH "SSE2"

$Include "joltphysics_inc.vpc"
2 changes: 2 additions & 0 deletions joltphysics/joltphysics_sse42.vpc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

$Macro PROJNAME "joltphysics_sse42"

$Conditional VOLT_SSE2 "0"
$Conditional VOLT_SSE42 "1"
$Conditional VOLT_AVX2 "0"
$Macro VOLTARCH "SSE42"

$Include "joltphysics_inc.vpc"

0 comments on commit 77c2131

Please sign in to comment.