fix nana for linux

pull/31/head
ruki 5 years ago
parent d590be989f
commit dafecd1cb4
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 4
      packages/n/nana/xmake.lua

@ -14,10 +14,12 @@ package("nana")
if is_plat("windows") then
add_syslinks("ole32", "shell32", "user32", "kernel32", "user32", "gdi32", "winspool", "comdlg32", "advapi32")
elseif is_plat("linux") then
add_syslinks("pthread", "X11", "Xft", "fontconfig")
end
on_install("linux", "windows", function (package)
import("package.tools.cmake").install(package)
import("package.tools.cmake").install(package, {"-DNANA_CMAKE_NANA_FILESYSTEM_FORCE=ON"})
end)
on_test(function (package)

Loading…
Cancel
Save