Skip to content

Commit c9add8d

Browse files
committed
Merge branch 'main' into cuda
2 parents dbdaef9 + 64a1627 commit c9add8d

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ cmake_minimum_required(VERSION 3.16)
1515
# You can later set fine-grained standards for each target using `target_compile_features`
1616
# set(CMAKE_CXX_STANDARD 17)
1717
18-
# Add project_options v0.13.0
18+
# Add project_options v0.13.1
1919
# https://github.com/cpp-best-practices/project_options
2020
include(FetchContent)
21-
FetchContent_Declare(_project_options URL https://github.com/cpp-best-practices/project_options/archive/refs/tags/v0.13.0.zip)
21+
FetchContent_Declare(_project_options URL https://github.com/cpp-best-practices/project_options/archive/refs/tags/v0.13.1.zip)
2222
FetchContent_MakeAvailable(_project_options)
2323
include(${_project_options_SOURCE_DIR}/Index.cmake)
2424
@@ -152,10 +152,10 @@ cmake_minimum_required(VERSION 3.16)
152152
# You can later set fine-grained standards for each target using `target_compile_features`
153153
# set(CMAKE_CXX_STANDARD 17)
154154
155-
# Add project_options v0.13.0
155+
# Add project_options v0.13.1
156156
# https://github.com/cpp-best-practices/project_options
157157
include(FetchContent)
158-
FetchContent_Declare(_project_options URL https://github.com/cpp-best-practices/project_options/archive/refs/tags/v0.13.0.zip)
158+
FetchContent_Declare(_project_options URL https://github.com/cpp-best-practices/project_options/archive/refs/tags/v0.13.1.zip)
159159
FetchContent_MakeAvailable(_project_options)
160160
include(${_project_options_SOURCE_DIR}/Index.cmake)
161161

src/CompilerWarnings.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ function(
8181
)
8282
endif()
8383

84-
if(WARNINGS_AS_ERRORS STREQUAL TRUE)
85-
message(AUTHOR_WARNING "NOTE: WARNINGS_AS_ERRORS=${WARNINGS_AS_ERRORS}")
84+
if(WARNINGS_AS_ERRORS)
85+
message(TRACE "Warnings are treated as errors")
8686
list(APPEND CLANG_WARNINGS -Werror)
8787
list(APPEND GCC_WARNINGS -Werror)
8888
list(APPEND MSVC_WARNINGS /WX)

0 commit comments

Comments
 (0)