diff --git a/ports/cli11/portfile.cmake b/ports/cli11/portfile.cmake index 5aa1bcd83238ab..6f9db640808594 100644 --- a/ports/cli11/portfile.cmake +++ b/ports/cli11/portfile.cmake @@ -1,8 +1,13 @@ +# cli/2.7.2 has no dllexport annotations, so shared build yields a DLL without exports. +if(VCPKG_TARGET_IS_WINDOWS) + set(VCPKG_LIBRARY_LINKAGE static) +endif() + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO CLIUtils/CLI11 REF "v${VERSION}" - SHA512 3b17c02e120d6c14246157fcfef1e55c34462d8ee3adb55e49f4b180fc2e0d52ec4371505c009839c623ccc5bf4ac16c8c94707d10b1f1cb0e916c3402d2e7a6 + SHA512 437cd9d704c1b0de0516bdc8cb115befb2e7170417375a64845a2bc2385fa07948c4af724ec615d27fbc102dbe13a7117f33873d6776fe9b17f293d42fe64dd9 HEAD_REF main PATCHES revert-1012-pkgconfig.diff diff --git a/ports/cli11/vcpkg.json b/ports/cli11/vcpkg.json index 53229902ba640d..2abd5a9a17cd91 100644 --- a/ports/cli11/vcpkg.json +++ b/ports/cli11/vcpkg.json @@ -1,6 +1,6 @@ { "name": "cli11", - "version": "2.6.2", + "version": "2.7.2", "description": "CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface.", "homepage": "https://github.com/CLIUtils/CLI11", "license": "BSD-3-Clause", diff --git a/versions/baseline.json b/versions/baseline.json index db58016fadd36c..eb1f68dcc8cf23 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1825,7 +1825,7 @@ "port-version": 0 }, "cli11": { - "baseline": "2.6.2", + "baseline": "2.7.2", "port-version": 0 }, "clickhouse-cpp": { diff --git a/versions/c-/cli11.json b/versions/c-/cli11.json index d3f19eb6102105..e2981dfa6655b0 100644 --- a/versions/c-/cli11.json +++ b/versions/c-/cli11.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "62edeef0f408c3143653e2fdf85c7ab04743c66a", + "version": "2.7.2", + "port-version": 0 + }, { "git-tree": "1f36dca09497113c4abf001a5e610eccff567d79", "version": "2.6.2",