Skip to content

Commit

Permalink
cppitertools: update to v2024.10.19 (#6231)
Browse files Browse the repository at this point in the history
  • Loading branch information
apocelipes authored Jan 24, 2025
1 parent 080d51a commit 145e30e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/c/cppitertools/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package("cppitertools")

add_urls("https://github.com/ryanhaining/cppitertools.git")

add_versions("2024.10.19", "5a7f4aa357ed9b0ad59823e3d2acd57217d5beaf")
add_versions("2023.07.04", "492c15aab96f4ca3938a6b734d6a08cb7feea75a")

add_configs("boost", {description = "For zip_longest", default = false, type = "boolean"})
Expand All @@ -17,8 +18,12 @@ package("cppitertools")
end)

on_install(function (package)
os.cp("*.hpp", package:installdir("include/cppitertools"))
os.cp("internal", package:installdir("include/cppitertools"))
if package:version():gt("2023.07.04") then
os.cp("cppitertools", package:installdir("include"))
else
os.cp("*.hpp", package:installdir("include/cppitertools"))
os.cp("internal", package:installdir("include/cppitertools"))
end
end)

on_test(function (package)
Expand Down

0 comments on commit 145e30e

Please sign in to comment.