Skip to content

replaced if(MATCHES) with if(STREQUAL) in CMake#4263

Merged
danmar merged 1 commit intocppcheck-opensource:mainfrom
firewave:matches
Jul 11, 2022
Merged

replaced if(MATCHES) with if(STREQUAL) in CMake#4263
danmar merged 1 commit intocppcheck-opensource:mainfrom
firewave:matches

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

MATCHES does regular expression matching which is not the intended behavior here. Clang still requires it since it also needs to match `AppleClang.

`MATCHES` does regular expression matching which is not the intended behavior here. `Clang` still requires it since it also needs to match `AppleClang.
@firewave firewave changed the title replaced if(MATCHES) with if(STREQUAL) replaced if(MATCHES) with if(STREQUAL) in CMake Jul 10, 2022
@danmar danmar merged commit e8b0f12 into cppcheck-opensource:main Jul 11, 2022
@firewave firewave deleted the matches branch July 11, 2022 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants