mirror of https://github.com/microsoft/vcpkg.git
[inja] Modernize (#50641)
This commit is contained in:
parent
cefa76dee5
commit
f5ffe72210
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -3998,7 +3998,7 @@
|
|||
},
|
||||
"inja": {
|
||||
"baseline": "3.5.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"intel-ipsec": {
|
||||
"baseline": "1.1",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "004f64a4ac01a4c1f6da49d2331c9b1dc2bf3b27",
|
||||
"version": "3.5.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "11819c7d653b868489a608926c182ffd89cd49f3",
|
||||
"version": "3.5.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue