diff --git a/packages/l/libevent/xmake.lua b/packages/l/libevent/xmake.lua index 42bede398..28acb5eca 100644 --- a/packages/l/libevent/xmake.lua +++ b/packages/l/libevent/xmake.lua @@ -43,6 +43,7 @@ package("libevent") table.insert(configs, "-DEVENT__DISABLE_MBEDTLS=" .. (package:config("mbedtls") and "OFF" or "ON")) if package:is_plat("windows") then table.insert(configs, "-DEVENT__MSVC_STATIC_RUNTIME=" .. (package:config("vs_runtime"):startswith("MT") and "ON" or "OFF")) + table.insert(configs, "-DCMAKE_COMPILE_PDB_OUTPUT_DIRECTORY=''") end import("package.tools.cmake").install(package, configs) end)