fix gtest for linux

pull/84/head
ruki 4 years ago
parent 561ce094ac
commit 30daafef25
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 4
      packages/g/gtest/xmake.lua

@ -8,6 +8,10 @@ package("gtest")
add_versions("github:1.8.1", "release-1.8.1")
add_versions("archive:1.8.1", "927827c183d01734cc5cfef85e0ff3f5a92ffe6188e0d18e909c5efebf28a0c7")
if is_plat("linux") then
add_syslinks("pthread")
end
on_install(function (package)
io.writefile("xmake.lua", [[
target("gtest")

Loading…
Cancel
Save