diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/cmake.d/01-build_options.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/cmake.d/01-build_options.cmake b/cmake/cmake.d/01-build_options.cmake index 18aff71..3be92ba 100644 --- a/cmake/cmake.d/01-build_options.cmake +++ b/cmake/cmake.d/01-build_options.cmake @@ -121,6 +121,9 @@ IF(HAVE_LIBEFENCE) list (APPEND link_libraries ${libefence_LIBRARIES}) ENDIF(HAVE_LIBEFENCE) ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG AND USE_EFENCE) +IF(CMAKE_BUILD_TYPE MATCHES COVERAGE) + list (APPEND link_libraries -coverage) +ENDIF(CMAKE_BUILD_TYPE MATCHES COVERAGE) # set default include directories INCLUDE_DIRECTORIES(${EXTRA_INCLUDE_DIRS}) |