diff options
Diffstat (limited to 'vcpkg/ports/azure-umqtt-c/package-location-fix-preview.patch')
| -rw-r--r-- | vcpkg/ports/azure-umqtt-c/package-location-fix-preview.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/azure-umqtt-c/package-location-fix-preview.patch b/vcpkg/ports/azure-umqtt-c/package-location-fix-preview.patch new file mode 100644 index 0000000..ec837b7 --- /dev/null +++ b/vcpkg/ports/azure-umqtt-c/package-location-fix-preview.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8fd08f0..c228519 100755 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -155,7 +155,7 @@ endif () + include(GNUInstallDirs)
+
+ # Install umqtt
+-set(package_location "cmake")
++set(package_location "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
+
+ if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
+ set(CMAKE_INSTALL_LIBDIR "lib")
|