Merge pull request #31 from xmake-io/dev

Update xmake.lua
pull/33/head
ruki 5 years ago committed by GitHub
commit 329d8c13bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      packages/n/nana/xmake.lua

@ -19,7 +19,11 @@ package("nana")
end
on_install("linux", "windows", function (package)
import("package.tools.cmake").install(package, {"-DNANA_CMAKE_NANA_FILESYSTEM_FORCE=ON", "-DNANA_CMAKE_ENABLE_JPEG=OFF", "-DNANA_CMAKE_ENABLE_PNG=OFF"})
local configs = {"-DNANA_CMAKE_ENABLE_JPEG=OFF", "-DNANA_CMAKE_ENABLE_PNG=OFF"}
if is_plat("linux") then
table.insert(configs, "-DNANA_CMAKE_NANA_FILESYSTEM_FORCE=ON")
end
import("package.tools.cmake").install(package, configs)
end)
on_test(function (package)

Loading…
Cancel
Save