Stiffstream / restinio

Cross-platform, efficient, customizable, and robust asynchronous HTTP(S)/WebSocket server C++ library with the right balance between performance and ease of use
Other
1.15k stars 93 forks source link

Find Catch2 only if tests are enabled #61

Closed aberaud closed 4 years ago

eao197 commented 4 years ago

Thanks for PR. I'll apply it during the preparation of v.0.6.1 release. It is expected to be released next week (I hope).

eao197 commented 4 years ago

I've added your changes partially to the master. But RESTinio will search unofficial-http-parser instead of http-parser because of the presence of unofficial-http-parser in vcpkg. So if RESTinio will search http-parser it won't found the parse in the case when vcpkg is used for dependency management.