Azure / azure-event-hubs-c

C client library for Azure Event Hubs https://azure.microsoft.com/services/event-hubs
Other
7 stars 18 forks source link

Missing build dependency file /configs/azure_iot_build_rules.cmake #59

Open HarrisonOfTheNorth opened 4 years ago

HarrisonOfTheNorth commented 4 years ago

Regarding the Readme:

Azure Event Hub Client for C / Building the library / 2 Configure your build by running: Ex 1. cmake ..

the following error occurs:

CMake Error at CMakeLists.txt:100 (include):
  include could not find load file:

    /configs/azure_iot_build_rules.cmake

There isn't a file called azure_iot_build_rules.cmake in the path /configs

Now the Readme doesn't say to do a submodule update, it merely says:

When switching branches in this repository, remember to update the submodules by:

git submodule update --init --recursive

and because the user doesn't switch branches, he is not mistaken by not doing this.

I found that on Ubuntu, if I did a submodule upgrade despite it not saying to do so - and this didn't pull in the missing file - that it built properly without complaining about the missing file.

I think the Readme just needs updating!