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 a5ed22d commit 622a2a5
Showing 1 changed file with 2 additions and 2 deletions.
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", "overwriteprop.cmake"), "overwriteprop.cmake")
table.insert(configs, "-DCMAKE_PROJECT_INCLUDE=overwriteprop.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 622a2a5

Please sign in to comment.