Skip to content

Commit 2cce6c7

Browse files
authored
Update dependencies, clean up some variables (cpp-best-practices#130)
1 parent 0bac3d4 commit 2cce6c7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cmake/CPM.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
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

88
if(CPM_SOURCE_CACHE)
99
set(CPM_DOWNLOAD_LOCATION "${CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake")

cmake/Tests.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function(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()
66
endfunction()

0 commit comments

Comments
 (0)