vcpkg/ports/azure-uhttp-c/fix-install-location.patch

16 lines
426 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c63adc0..9ba6007 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -145,8 +145,8 @@ endif()
# Set CMAKE_INSTALL_LIBDIR if not defined
include(GNUInstallDirs)
-# Install umqtt
-set(package_location "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
+# Install uhttp
+set(package_location "cmake")
if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
set(CMAKE_INSTALL_LIBDIR "lib")