Skip to content

Conversation

scop
Copy link
Owner

@scop scop commented Aug 10, 2025

Per discussion in #1379 (comment) and onwards.

Comment on lines -210 to +215
include(GNUInstallDirs)
find_package(bash-completion)
if(BASH_COMPLETION_FOUND)
message(STATUS
"Using bash completion dir ${BASH_COMPLETION_COMPLETIONSDIR}")
else()
include(GNUInstallDirs)
Copy link
Owner Author

Choose a reason for hiding this comment

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

This is fairly cosmetic I suppose and I don't know if it actually works, but would make sense to me. It's a separate commit we can remove if it doesn't.

Copy link
Collaborator

@akinomyoga akinomyoga Aug 10, 2025

Choose a reason for hiding this comment

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

I don't use cmake, so I'm not familiar with it. AI says it works, and AI is probably right, but I'm not sure whether there is anything that we should be careful with. I think the original author @jtojnar should know this better.

Copy link
Contributor

Choose a reason for hiding this comment

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

I believe conditional imports are fine in CMake should probably work. Though, in practice, it should be used elsewhere in the CMake script too.

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