Skip to content

Commit

Permalink
Use option instead of set to disable unit tests and testbed in box2d
Browse files Browse the repository at this point in the history
Using `set` seems to cause some issues.
  • Loading branch information
thatbakamono committed Jan 3, 2024
1 parent 9b951dd commit 9320e5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thirdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(BOX2D_BUILD_UNIT_TEST OFF)
set(BOX2D_BUILD_TESTBED OFF)
option(BOX2D_BUILD_UNIT_TESTS "Build the Box2D unit tests" OFF)
option(BOX2D_BUILD_TESTBED "Build the Box2D testbed" OFF)

FetchContent_Declare(
box2d
Expand Down

0 comments on commit 9320e5d

Please sign in to comment.