Skip to content

Commit

Permalink
CMake: Detect unknown pragmas with Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
dscharrer committed Jun 8, 2024
1 parent bcd75dd commit f8eb1dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/CompileCheck.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ function(check_compile RESULT FILE FLAG TYPE)
"unrecognized .*option" # GNU
"${escaped_flag}.* not supported" # GNU
"unknown .*option" # Clang
"warning:.*unknown pragma" # Clang
"ignoring unknown option" # MSVC
"warning D9002" # MSVC, any lang
"warning #[0-9]*:" # Intel
Expand Down

0 comments on commit f8eb1dd

Please sign in to comment.