bilke / cmake-modules

Additional CMake functionality. Most of the modules are from Ryan Pavlik (https://github.com/rpavlik/cmake-modules)
Boost Software License 1.0
547 stars 214 forks source link

CodeCoverage, also check for gcc #24

Open clunion opened 6 years ago

clunion commented 6 years ago

i suggest changing line 86 from elseif(NOT CMAKE_COMPILER_IS_GNUCXX) to elseif(NOT CMAKE_COMPILER_IS_GNUCXX AND NOT CMAKE_COMPILER_IS_GNUCC)

This enables using CodeCoverage.cmake in a gcc build environment (without a working g++)