Skip to content

Fixed warning in a few *.cmake files#1309

Merged
Nightwalker-87 merged 2 commits intostlink-org:developfrom
slyshykO:fix-cmake-else-warn2
Apr 30, 2023
Merged

Fixed warning in a few *.cmake files#1309
Nightwalker-87 merged 2 commits intostlink-org:developfrom
slyshykO:fix-cmake-else-warn2

Conversation

@slyshykO
Copy link
Collaborator

according to https://cmake.org/cmake/help/v3.10/command/if.html#command:if
else() should have the same expression as if()
but elseif() can contain different expression

@Nightwalker-87 Nightwalker-87 self-requested a review April 29, 2023 21:16
@Nightwalker-87 Nightwalker-87 added this to the v1.8.0 milestone Apr 29, 2023
@Nightwalker-87 Nightwalker-87 changed the title fix warn in a few *.cmake Fixed warning in a few *.cmake files Apr 29, 2023
@Nightwalker-87 Nightwalker-87 merged commit 01981ad into stlink-org:develop Apr 30, 2023
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Apr 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants