ftxui: add cross (#3042)

pull/3043/head
Chi Huu Huynh 11 months ago committed by GitHub
parent 047930c32d
commit ac5136732d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/f/ftxui/xmake.lua

@ -19,7 +19,7 @@ package("ftxui")
add_links("ftxui-component", "ftxui-dom", "ftxui-screen")
on_install("linux", "windows", "macosx", "bsd", "mingw", function (package)
on_install("linux", "windows", "macosx", "bsd", "mingw", "cross", function (package)
local configs = {"-DFTXUI_BUILD_DOCS=OFF", "-DFTXUI_BUILD_EXAMPLES=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"))

Loading…
Cancel
Save