File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22#
33# SPDX-FileCopyrightText: Copyright (c) 2019-2023 Lars Melchior and contributors
44
5- set (CPM_DOWNLOAD_VERSION 0.40.8 )
6- set (CPM_HASH_SUM "78ba32abdf798bc616bab7c73aac32a17bbd7b06ad9e26a6add69de8f3ae4791 " )
5+ set (CPM_DOWNLOAD_VERSION 0.42.1 )
6+ set (CPM_HASH_SUM "f3a6dcc6a04ce9e7f51a127307fa4f699fb2bade357a8eb4c5b45df76e1dc6a5 " )
77
88if (CPM_SOURCE_CACHE)
99 set (CPM_DOWNLOAD_LOCATION "${CPM_SOURCE_CACHE} /cpm/CPM_${CPM_DOWNLOAD_VERSION} .cmake" )
Original file line number Diff line number Diff line change 11function (myproject_enable_coverage project_name )
22 if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES ".*Clang" )
3- target_compile_options (${project_name} INTERFACE --coverage -O0 - g )
3+ target_compile_options (${project_name} INTERFACE --coverage -g )
44 target_link_libraries (${project_name} INTERFACE --coverage )
55 endif ()
66endfunction ()
You can’t perform that action at this time.
0 commit comments