Browse Source

disable compile examples for bullet3

ruki 5 years ago
parent
commit
a58a7dcb07
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/b/bullet3/xmake.lua

+ 1 - 1
packages/b/bullet3/xmake.lua

@@ -10,7 +10,7 @@ package("bullet3")
     add_deps("cmake")
     add_deps("cmake")
 
 
     on_install("macosx", "linux", "windows", function (package)
     on_install("macosx", "linux", "windows", function (package)
-        local configs = {}
+        local configs = {"-DBUILD_CPU_DEMOS=OFF"}
         table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
         table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
         import("package.tools.cmake").install(package, configs)
         import("package.tools.cmake").install(package, configs)