aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/azure-uhttp-c/package-location-fix-preview.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/azure-uhttp-c/package-location-fix-preview.patch')
-rw-r--r--vcpkg/ports/azure-uhttp-c/package-location-fix-preview.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/azure-uhttp-c/package-location-fix-preview.patch b/vcpkg/ports/azure-uhttp-c/package-location-fix-preview.patch
new file mode 100644
index 0000000..8544ae6
--- /dev/null
+++ b/vcpkg/ports/azure-uhttp-c/package-location-fix-preview.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 27eae0b..ef87ec0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -138,7 +138,7 @@ if (NOT ${skip_samples})
+ endif()
+
+ # Install uhttp
+-set(package_location "cmake")
++set(package_location "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
+
+ if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
+ set(CMAKE_INSTALL_LIBDIR "lib")