Open
Description
openedon Aug 26, 2019
Hi,
The top level CMakeLists.txt
file is missing a guard when this project is recursively added in several places. As example, if a project uses both azure-iot-sdk-c
and azure-event-hubs-c
using the add_subdirectory
cmake function, it triggers a CMP0002
error.
Can you add this lines of code as it is done for the umqtt to fix this ?
if (TARGET amqp)
RETURN()
endif()
Thanks!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels