zuluCrypt checks for distro provided "json.hpp" file this way[1] and SiriKali does it this[2] way.
[1] https://github.com/mhogomchungu/zuluCrypt/blob/76637bb05af13744bf1734b56f67d6d5cc2343b1/CMakeLists.txt#L159 [2] https://github.com/mhogomchungu/sirikali/blob/dfd3635d6c77d43d0a23c5293faa01a5bed8a7c6/CMakeLists.txt#L95