Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
luadebug committed Jan 15, 2025
1 parent 622a2a5 commit e45a4ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/p/pugixml/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ package("pugixml")
on_install(function (package)
local configs = {}
if package:is_plat("wasm") and package:config("shared") then
os.cp(path.join(package:scriptdir(), "port", "overwriteprop.cmake"), "overwriteprop.cmake")
table.insert(configs, "-DCMAKE_PROJECT_INCLUDE=overwriteprop.cmake")
os.cp(path.join(package:scriptdir(), "port", "sharedwasm.cmake"), "sharedwasm.cmake")
table.insert(configs, "-DCMAKE_PROJECT_INCLUDE=sharedwasm.cmake")
end
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"))
Expand Down

0 comments on commit e45a4ff

Please sign in to comment.