From f39ceca48088626fb27151b2a0be22c91b178cbc Mon Sep 17 00:00:00 2001 From: Rodrigo Delduca Date: Mon, 4 Nov 2024 14:03:40 -0300 Subject: [PATCH] box2d: Do not force warnings as errors by default (#25815) * Add flag to vectorize and bypass warning for Box2D * Threat warnings not like an error * Fix identation --- recipes/box2d/all/conanfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/box2d/all/conanfile.py b/recipes/box2d/all/conanfile.py index 1f7923c5d4d0d..085cd30b96269 100644 --- a/recipes/box2d/all/conanfile.py +++ b/recipes/box2d/all/conanfile.py @@ -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