From 569cf9fb83300382b669f1a295e859d979f10529 Mon Sep 17 00:00:00 2001 From: yamashi Date: Mon, 22 Feb 2021 17:22:13 +0100 Subject: [PATCH] Update xmake.lua (#296) --- packages/c/cef/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/c/cef/xmake.lua b/packages/c/cef/xmake.lua index 21c1561ae..7033e7cc6 100644 --- a/packages/c/cef/xmake.lua +++ b/packages/c/cef/xmake.lua @@ -22,7 +22,7 @@ package("cef") on_install("windows|x64", function (package) assert(package:config("vs_runtime") == "MT" and not package:config("shared"), "only support static library with MT") 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, "*.dll"), package:installdir("bin")) os.cp("Resources/*", package:installdir("bin"))