Skip to content

cmake: fix integration with Ninja #43

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

Merged
merged 3 commits into from
May 5, 2025
Merged

Conversation

lzaoral
Copy link
Member

@lzaoral lzaoral commented Apr 23, 2025

No description provided.

lzaoral added 3 commits April 23, 2025 16:56
Seems like the newer CMake releases overwrite previous property values
instead of appending them.
Fixes the following error:
```
$ ninja -C build
ninja: Entering directory `build'
ninja: warning: phony target 'src/csexec-loader' names itself as an input; ignoring [-w phonycycle=warn]
ninja: warning: phony target 'src/csexec-loader-test' names itself as an input; ignoring [-w phonycycle=warn]
ninja: error: build.ninja:346: multiple rules generate src/csexec-loader
```
@lzaoral lzaoral requested a review from kdudka April 23, 2025 16:10
@lzaoral lzaoral self-assigned this Apr 23, 2025
@kdudka
Copy link
Member

kdudka commented Apr 24, 2025

/packit rebuild-failed

Copy link
Member

@kdudka kdudka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

The failing CI is caused by https://issues.redhat.com/browse/RHEL-88393.

@lzaoral lzaoral merged commit a2042bf into csutils:main May 5, 2025
35 checks passed
@lzaoral lzaoral deleted the cmake-ninja branch May 5, 2025 10:37
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