Skip to content

Commit

Permalink
Fix compiler flags again
Browse files Browse the repository at this point in the history
  • Loading branch information
florianbecker committed Nov 22, 2023
1 parent 25d2268 commit e74ef92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/clang_warnings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ foreach(WARNING_FLAG ${WARNING_FLAGS})
set(WARNING_FLAGS_SPACED "${WARNING_FLAGS_SPACED} ${WARNING_FLAG}")
endforeach()

if(NOT CMAKE_CXX_COMPILER_ID MATCHES Clang AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 16)
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 16)
foreach(WARNING_FLAG ${WARNING_FLAGS_VERSION16})
set(WARNING_FLAGS_SPACED "${WARNING_FLAGS_SPACED} ${WARNING_FLAG}")
endforeach()
Expand Down

0 comments on commit e74ef92

Please sign in to comment.