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
548 stars 213 forks source link

Remove second exclude call #77

Closed snakethatlovesstaticlibs closed 1 year ago

snakethatlovesstaticlibs commented 1 year ago

The double usage of --exclude appears to be a typo, and causes

CMake Error at CMakeModules/CodeCoverage.cmake:689 (add_custom_target):
  add_custom_target Wrong syntax.  Unknown type of argument.
Call Stack (most recent call first):
  build.cmake:87 (setup_target_for_coverage_fastcov)
  CMakeLists.txt:146 (include)

when I try to use it