Skip to content

Commit

Permalink
Update compiler_common.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf authored Oct 27, 2023
1 parent ac74cbc commit 1d8a625
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/common/compiler_common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@ set(_obs_clang_cxx_options
-Wno-overloaded-virtual
-Wrange-loop-analysis)

if(NOT DEFINED CMAKE_COMPILE_WARNING_AS_ERROR)
set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
endif()
# if(NOT DEFINED CMAKE_COMPILE_WARNING_AS_ERROR)
# set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
# endif()

0 comments on commit 1d8a625

Please sign in to comment.