oatpp-websocket: Enable test library linking (#2728)

pull/2732/head
Chi Huu Huynh 1 year ago committed by GitHub
parent 6a957473ff
commit d217a1d8a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/o/oatpp-websocket/xmake.lua

@ -22,7 +22,7 @@ package("oatpp-websocket")
end)
on_install("linux", "macosx", "windows|x64", function (package)
local configs = {"-DOATPP_BUILD_TESTS=OFF" , "-DOATPP_LINK_TEST_LIBRARY=OFF"}
local configs = {"-DOATPP_BUILD_TESTS=OFF"}
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"))
if package:is_plat("windows") then

Loading…
Cancel
Save