Skip to content

Commit

Permalink
Fix clang warning about unknown -Wno-restrict warning option
Browse files Browse the repository at this point in the history
  • Loading branch information
cbjeukendrup authored and igorkorsukov committed Sep 10, 2023
1 parent c157a5b commit 9966e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/cmake/SetupCompileWarnings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function(target_no_warning TARGET WNAME)
elseif(WNAME STREQUAL "-Wno-sign-compare")
elseif(WNAME STREQUAL "-Wno-attributes")
elseif(WNAME STREQUAL "-Wno-restrict")

unset(CLANG_Warning)
elseif(WNAME STREQUAL "-w")
set(MSVC_Warning /W0)

Expand Down

0 comments on commit 9966e8e

Please sign in to comment.