aws-samples / aws-iot-securetunneling-localproxy

AWS Iot Secure Tunneling local proxy reference C++ implementation
https://docs.aws.amazon.com/iot/latest/developerguide/what-is-secure-tunneling.html
Apache License 2.0
73 stars 69 forks source link

Catch2 support of V3 (yocto master version) #153

Open thomas-roos opened 1 month ago

thomas-roos commented 1 month ago

Describe the bug

Yocto changed Catch2 version to V3, which require some migration steps. https://github.com/catchorg/Catch2/blob/4e8d92bf02f7d1c8006a0e7a5ecabd8e62d98502/docs/migrate-v2-to-v3.md?plain=1#L40

To Reproduce

Compile with Catch2 version 3.x

Expected behavior

Just works

Actual behavior

| /home/ubuntu/data/yocto_master/build/tmp/work/cortexa57-poky-linux/aws-iot-securetunneling-localproxy/git/git/test/WebProxyAdapterTests.cpp:9:10: fatal error: catch2/catch.hpp: No such file or directory                                                                              
|     9 | #include <catch2/catch.hpp>                                                                                                                                                                                                                                                     
|       |          ^~~~~~~~~~