Browse Source

bullet3: Fix debug suffix (#1979)

Jérôme Leclercq 2 years ago
parent
commit
3ba329ef4c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/b/bullet3/xmake.lua

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

@@ -23,7 +23,7 @@ package("bullet3")
     add_includedirs("include", "include/bullet")
 
     on_install(function (package)
-        local configs = {"-DBUILD_CPU_DEMOS=OFF", "-DBUILD_OPENGL3_DEMOS=OFF", "-DBUILD_BULLET2_DEMOS=OFF", "-DBUILD_UNIT_TESTS=OFF", "-DINSTALL_LIBS=ON"}
+        local configs = {"-DBUILD_CPU_DEMOS=OFF", "-DBUILD_OPENGL3_DEMOS=OFF", "-DBUILD_BULLET2_DEMOS=OFF", "-DBUILD_UNIT_TESTS=OFF", "-DINSTALL_LIBS=ON", "-DCMAKE_DEBUG_POSTFIX="}
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
         table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
         table.insert(configs, "-DUSE_DOUBLE_PRECISION=" .. (package:config("double_precision") and "ON" or "OFF"))