Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Doekin committed Oct 13, 2024
1 parent bf245f9 commit 4d3001a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/l/libunifex/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ package("libunifex")
end)

on_install(function (package)
local configs = { "-DBUILD_TESTING=OFF",
"-DUNIFEX_BUILD_EXAMPLES=OFF",
"-DCMAKE_CXX_STANDARD=20",
}
local configs = {"-DBUILD_TESTING=OFF", "-DUNIFEX_BUILD_EXAMPLES=OFF", "-DCMAKE_CXX_STANDARD=20"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DALEMBIC_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs)
Expand All @@ -37,5 +34,5 @@ package("libunifex")
auto delay(milliseconds ms) {
return schedule_after(current_scheduler, ms);
}
]]}, {configs = {languages = "c++20"},includes = {"chrono", "unifex/on.hpp", "unifex/scheduler_concepts.hpp"}}))
]]}, {configs = {languages = "c++20"}, includes = {"chrono", "unifex/on.hpp", "unifex/scheduler_concepts.hpp"}}))
end)

0 comments on commit 4d3001a

Please sign in to comment.