I need to modify CMake scenario in order to have code coverage reporting in place.
For this purpose 2 checks should be done:
1. GCC should be available: CMAKE_COMPILER_IS_GNUCXX
2. lcov should be installed (lcov is a graphical front-end for GCC's coverage testing tool)
My question is: How to check if lcov is installed using CMake?
Target operating systems (to check condition): Ubuntu 16.04, Windows 10