I ran this on Ubuntu:
sudo apt-get install librabbitmq-dev
git clone https://github.com/alanxz/SimpleAmqpClient.git
cd SimpleAmqpClient
mkdir simpleamqpclient-build
cd simpleamqpclient-build
cmake ..
cmake --build .
then in my CMakeLists.txt file I added:
target_link_libraries(my_project PRIVATE SimpleAmqpClient)
then ran cmake .. which ran ok.
added #include <SimpleAmqpClient/SimpleAmqpClient.h> to my cpp file and tried to build with cmake --build .. Got this error:
fatal error: SimpleAmqpClient/SimpleAmqpClient.h: No such file or directory
15 | #include <SimpleAmqpClient/SimpleAmqpClient.h>