Sfoglia il codice sorgente

Auto-update toml11 to v3.8.1 (#3213)

* Update toml11 to v3.8.1

* add CMAKE_CXX_STANDARD

---------

Co-authored-by: star9029 <[email protected]>
ruki 1 anno fa
parent
commit
9a2510b2c5
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      packages/t/toml11/xmake.lua

+ 3 - 1
packages/t/toml11/xmake.lua

@@ -6,12 +6,14 @@ package("toml11")
 
     add_urls("https://github.com/ToruNiina/toml11/archive/refs/tags/$(version).tar.gz",
              "https://github.com/ToruNiina/toml11.git")
+
+    add_versions("v3.8.1", "6a3d20080ecca5ea42102c078d3415bef80920f6c4ea2258e87572876af77849")
     add_versions("v3.7.0", "a0b6bec77c0e418eea7d270a4437510884f2fe8f61e7ab121729624f04c4b58e")
 
     add_deps("cmake")
 
     on_install(function (package)
-        local configs = {}
+        local configs = {"-DCMAKE_CXX_STANDARD=11"}
         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"))
         import("package.tools.cmake").install(package, configs)