[azure-iot-sdk-c] Fixed the CMake config export.#11017
[azure-iot-sdk-c] Fixed the CMake config export.#11017strega-nil merged 6 commits intomicrosoft:masterfrom seanyen:seanyen/azure-iot-sdk-c
Conversation
|
cc @ewertons |
NancyLi1013
left a comment
There was a problem hiding this comment.
Could you please update
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/azure-iot-sdk-c/copyright COPYONLY)
as
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)?
|
@NancyLi1013 Thanks for the feedback. I updated the recipe accordingly. @ewertons Let me know if my patch makes sense or not. Hope the patch can be folded back to the upstream. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
NancyLi1013
left a comment
There was a problem hiding this comment.
include(vcpkg_common_functions) is no longer needed.
Could you please remove this line?
Sorry, I didn't notice this before.
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
@NancyLi1013 updated. Thanks for the feedback. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
All features have passed on the following triplets:
|
|
Cool, thanks @seanyen :D |
The
azure-iot-sdk-cport seems not to be really usable by using CMake config files.When one tries to consume the library by the following block:
Soon one will see this error when running CMake:
From my end, the problem is that
iothub_clienttarget is not exported from its CMake configs, but only${provisioning_libs}get exported.This patch is attempting to correct this behavior.