Skip to content

CMakeLists: use MATCHES for Clang#8

Open
barracuda156 wants to merge 1 commit into
fernandotcl:masterfrom
barracuda156:apple
Open

CMakeLists: use MATCHES for Clang#8
barracuda156 wants to merge 1 commit into
fernandotcl:masterfrom
barracuda156:apple

Conversation

@barracuda156

Copy link
Copy Markdown

New CMake uses AppleClang as an ID for Xcode clangs. Therefore, use MATCHES instead of STREQUAL.

@ryandesign

Copy link
Copy Markdown

Right. This happens when CMP0025 is set to NEW. MacPorts sets this to NEW by default.

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