Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake: rename FeatureSummary.cmake to avoid name clashes (backport #953) #988

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jun 5, 2023

This is an automatic backport of pull request #953 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

* CMake: rename FeatureSummary.cmake to avoid name clashes

According to OGRECave/ogre#2381:

```
The reason is FeatureSummary is a CMake's module, and /usr/lib64/cmake/Qt6Gui/Qt6GuiDependencies.cmake has a line include(FeatureSummary). Since you have FeatureSummary.cmake in your project, it gets loaded instead of /usr/share/cmake/Modules/FeatureSummary.cmake. The solution is simple: just rename FeatureSummary.cmake in your project.
```

Backports the [patch from upstream](OGRECave/ogre@e34ef06).

* Explicitly rename files

The version of `patch` available in chocolatey in Windows is ancient and
doesn't support git-style renaming of files, so we'll need to do it
explicitly (for now).

Signed-off-by: Scott K Logan <logans@cottsay.net>

---------

Signed-off-by: Scott K Logan <logans@cottsay.net>
Co-authored-by: goekce <git2022@aydos.de>
Co-authored-by: Scott K Logan <logans@cottsay.net>
(cherry picked from commit 349cb1a)
@cottsay
Copy link
Member

cottsay commented Jun 5, 2023

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@cottsay cottsay merged commit 7ce36bc into iron Jun 5, 2023
@delete-merged-branch delete-merged-branch bot deleted the mergify/bp/iron/pr-953 branch June 5, 2023 21:40
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.

3 participants