vcpkg/ports/azure-iot-sdk-c/fix-iothubclient-includes.patch
Kai Pastor 53e50bc9ee
[azure-iot-sdk-c, azure-c-shared-utility] Fix linking of parson, uhttp, CURL, OpenSSL; modernize (#22869)
* [azure-c-shared-utility] Use targets for OpenSSL and CURL

* [azure-c-shared-utility] Modernize portfile

* [azure-iot-sdk-c] Fix parson dependency

* [azure-iot-sdk-c] Modernize portfile

* [azure-iot-sdk-c] Fix iothubclient include dirs

* [azure-iot-sdk-c] Fix uhttp dependency

* Update versions
2022-02-01 11:54:22 -08:00

14 lines
571 B
Diff

diff --git a/iothub_client/CMakeLists.txt b/iothub_client/CMakeLists.txt
index 07ab3b7..9769a08 100644
--- a/iothub_client/CMakeLists.txt
+++ b/iothub_client/CMakeLists.txt
@@ -441,7 +441,7 @@ add_library(iothub_client
target_include_directories(iothub_client
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inc>
- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/azureiot/include>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/azureiot>
)
applyXcodeBuildFlagsIfNeeded(iothub_client)
target_link_libraries(iothub_client ${iothub_client_libs})