Skip to content

Commit

Permalink
Merge topic 'try-link-ld-warning-no_pie'
Browse files Browse the repository at this point in the history
f745e04 CheckCompilerFlags: Catch linker warning about ignored flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !6836
  • Loading branch information
bradking authored and kwrobot committed Jan 6, 2022
2 parents ac892a6 + f745e04 commit 13e71b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ macro (CHECK_COMPILER_FLAG_COMMON_PATTERNS _VAR)
FAIL_REGEX "unknown .*option" # Clang
FAIL_REGEX "optimization flag .* not supported" # Clang
FAIL_REGEX "unknown argument ignored" # Clang (cl)
FAIL_REGEX "warning: .* ignored" # Clang (linker)
FAIL_REGEX "ignoring unknown option" # MSVC, Intel
FAIL_REGEX "warning D9002" # MSVC, any lang
FAIL_REGEX "option.*not supported" # Intel
Expand Down

0 comments on commit 13e71b7

Please sign in to comment.