From 6e114a47b0136434603222fa31f55551c477114f Mon Sep 17 00:00:00 2001 From: yamashi Date: Sat, 17 Apr 2021 00:55:03 +0200 Subject: [PATCH] Bullet 3.09 (#367) * Bullet 3.09 * Update xmake.lua --- packages/b/bullet3/xmake.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/b/bullet3/xmake.lua b/packages/b/bullet3/xmake.lua index 18960b589..3979a1e46 100644 --- a/packages/b/bullet3/xmake.lua +++ b/packages/b/bullet3/xmake.lua @@ -7,6 +7,7 @@ package("bullet3") "https://github.com/bulletphysics/bullet3.git") add_versions("2.88", "f361d10961021a186b80821cfc1cfafc8dac48ce35f7d5e8de0943af4b3ddce4") add_versions("3.05", "e7ef322d8038e397cd6d79145a856cf5b4d558ce091d49b5239d625a46fef0d7") + add_versions("3.09", "8443894e47167cf7f7b4433a365b428ebeb83ba64d64f2a741ec4d2da4992c3d") add_configs("double_precision", { description = "Enable double precision floats", default = false, type = "boolean"}) add_configs("extras", { description = "Build the extras", default = false, type = "boolean"}) @@ -22,6 +23,7 @@ package("bullet3") table.insert(configs, "-DUSE_DOUBLE_PRECISION=" .. (package:config("double_precision") and "ON" or "OFF")) table.insert(configs, "-DBUILD_EXTRAS=" .. (package:config("extras") and "ON" or "OFF")) table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release")) + table.insert(configs, "-DUSE_MSVC_RUNTIME_LIBRARY_DLL=" .. (package:config("vs_runtime"):startswith("MD") and "ON" or "OFF")) import("package.tools.cmake").install(package, configs, {buildir = "build"}) os.cp("src/**.h", package:installdir("include", "bullet"), {rootdir = "src"})