aboutsummaryrefslogtreecommitdiff
path: root/ports/forge/fix-usage.patch
diff options
context:
space:
mode:
authorpradeep <pradeep.garigipati@gmail.com>2021-05-11 23:09:03 +0530
committerGitHub <noreply@github.com>2021-05-11 10:39:03 -0700
commit48678ea8b27e697ca613b6f1abff75f0984f370b (patch)
treee9398e770404346902fae2b1289552e750ba7718 /ports/forge/fix-usage.patch
parent56a5c2ac52835bcdfe5962568cf1e61376a1dd82 (diff)
downloadvcpkg-48678ea8b27e697ca613b6f1abff75f0984f370b.tar.gz
vcpkg-48678ea8b27e697ca613b6f1abff75f0984f370b.zip
[Forge] update version to 1.0.7 (#17099)
* [forge] Update forge to v1.0.7 tag - Use explicit cmake files install path - Use REF option in vcpkg_from_github command to fetch tag * [forge] Update version in baseline
Diffstat (limited to 'ports/forge/fix-usage.patch')
-rw-r--r--ports/forge/fix-usage.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/ports/forge/fix-usage.patch b/ports/forge/fix-usage.patch
deleted file mode 100644
index 5ce05e249..000000000
--- a/ports/forge/fix-usage.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/CMakeModules/ForgeConfig.cmake.in b/CMakeModules/ForgeConfig.cmake.in
-index e4c7737..6429069 100644
---- a/CMakeModules/ForgeConfig.cmake.in
-+++ b/CMakeModules/ForgeConfig.cmake.in
-@@ -52,16 +52,18 @@ set(Forge_FOUND OFF)
-
- if (NOT TARGET Forge::forge AND
- NOT TARGET forge AND
-- EXISTS @PACKAGE_CMAKE_DIR@/ForgeTargets.cmake)
-- include(@PACKAGE_CMAKE_DIR@/ForgeTargets.cmake)
-+ EXISTS ${CMAKE_CURRENT_LIST_DIR}/ForgeTargets.cmake)
-+ include(${CMAKE_CURRENT_LIST_DIR}/ForgeTargets.cmake)
- endif ()
-
- if (TARGET Forge::forge)
-- get_property(config TARGET Forge::forge PROPERTY IMPORTED_CONFIGURATIONS)
-- if(NOT config)
-- set(config "NOCONFIG")
-+ get_property(configs TARGET Forge::forge PROPERTY IMPORTED_CONFIGURATIONS)
-+ if(NOT configs)
-+ set(configs "NOCONFIG")
- endif()
-- get_property(loc TARGET Forge::forge PROPERTY IMPORTED_LOCATION_${config})
-+ foreach(config ${configs})
-+ get_property(loc TARGET Forge::forge PROPERTY IMPORTED_LOCATION_${config})
-+ endforeach()
- endif ()
-
- if ((TARGET Forge::forge AND EXISTS ${loc})