Skip to content

Commit

Permalink
box2d: Do not force warnings as errors by default (conan-io#25815)
Browse files Browse the repository at this point in the history
* Add flag to vectorize and bypass warning for Box2D

* Threat warnings not like an error

* Fix identation
  • Loading branch information
skhaz authored and OMGtechy committed Dec 31, 2024
1 parent 052b58d commit f39ceca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipes/box2d/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def source(self):
def generate(self):
tc = CMakeToolchain(self)
tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0077"] = "NEW"
tc.cache_variables["CMAKE_COMPILE_WARNING_AS_ERROR"] = False
if Version(self.version) < "3.0.0":
tc.variables["BOX2D_BUILD_TESTBED"] = False
tc.variables["BOX2D_BUILD_UNIT_TESTS"] = False
Expand Down

0 comments on commit f39ceca

Please sign in to comment.