Skip to content

Commit

Permalink
Fix incorrect config
Browse files Browse the repository at this point in the history
  • Loading branch information
Doekin committed Oct 13, 2024
1 parent 4d3001a commit eaf9f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/l/libunifex/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package("libunifex")
on_install(function (package)
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"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs)
end)

Expand Down

0 comments on commit eaf9f69

Please sign in to comment.