[inja] Modernize (#50641)

This commit is contained in:
Weihang Ding 2026-03-25 05:56:48 +08:00 committed by GitHub
parent cefa76dee5
commit f5ffe72210
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 7 deletions

View File

@ -13,16 +13,11 @@ vcpkg_cmake_configure(
OPTIONS
-DINJA_USE_EMBEDDED_JSON=OFF
-DBUILD_TESTING=OFF
-DBUILD_BENCHMARK=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/inja")
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
# Don't need built-in nlohmann-json as this package depends on nlohmann-json
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/inja/json")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,6 +1,7 @@
{
"name": "inja",
"version": "3.5.0",
"port-version": 1,
"description": "Inja - A Template Engine for Modern C++",
"homepage": "https://github.com/pantor/inja",
"license": "MIT",

View File

@ -3998,7 +3998,7 @@
},
"inja": {
"baseline": "3.5.0",
"port-version": 0
"port-version": 1
},
"intel-ipsec": {
"baseline": "1.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "004f64a4ac01a4c1f6da49d2331c9b1dc2bf3b27",
"version": "3.5.0",
"port-version": 1
},
{
"git-tree": "11819c7d653b868489a608926c182ffd89cd49f3",
"version": "3.5.0",