Explorar o código

Fixes compilation of libevent under debug mode MSVC (#2037)

xiangbuchule %!s(int64=2) %!d(string=hai) anos
pai
achega
e11d5c0073
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/l/libevent/xmake.lua

+ 1 - 0
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)