Kaynağa Gözat

Update xmake.lua (#296)

yamashi 4 yıl önce
ebeveyn
işleme
569cf9fb83
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      packages/c/cef/xmake.lua

+ 1 - 1
packages/c/cef/xmake.lua

@@ -22,7 +22,7 @@ package("cef")
     on_install("windows|x64", function (package)
     on_install("windows|x64", function (package)
         assert(package:config("vs_runtime") == "MT" and not package:config("shared"), "only support static library with MT")
         assert(package:config("vs_runtime") == "MT" and not package:config("shared"), "only support static library with MT")
         package:addenv("PATH", "bin")
         package:addenv("PATH", "bin")
-        local distrib_type = package:debug() and "Debug" and "Release"
+        local distrib_type = package:debug() and "Debug" or "Release"
         os.cp(path.join(distrib_type, "*.lib"), package:installdir("lib"))
         os.cp(path.join(distrib_type, "*.lib"), package:installdir("lib"))
         os.cp(path.join(distrib_type, "*.dll"), package:installdir("bin"))
         os.cp(path.join(distrib_type, "*.dll"), package:installdir("bin"))
         os.cp("Resources/*", package:installdir("bin"))
         os.cp("Resources/*", package:installdir("bin"))