File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
2020include(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)
2222FetchContent_MakeAvailable(_project_options)
2323include(${_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
157157include(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)
159159FetchContent_MakeAvailable(_project_options)
160160include(${_project_options_SOURCE_DIR}/Index.cmake)
161161
Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments