Skip to content

[WIP] cmake.eclass: Introduce cmake_punt_find_package()#1012

Open
a17r wants to merge 3 commits into
gentoo:masterfrom
a17r:cmake
Open

[WIP] cmake.eclass: Introduce cmake_punt_find_package()#1012
a17r wants to merge 3 commits into
gentoo:masterfrom
a17r:cmake

Conversation

@a17r

@a17r a17r commented Nov 27, 2024

Copy link
Copy Markdown
Member

TODO:

  • replace or depend(!?) on libpcre2
  • use -f <file> in more functions and create common use internal function
  • current implementation still is ECM centric (pkg=qt will match Qt[56] or Qt${SOME_VAR})

@a17r a17r force-pushed the cmake branch 2 times, most recently from c80fc7b to 8050271 Compare November 27, 2024 22:05
Moved from ecm.eclass, replacing both:
- _ecm_punt_kfqt_module
- ecm_punt_bogus_dep

- Support <filename> being a directory
- Improvement over ecm.eclass: Punt regex words, not part-matches

pcre2grep usage requires adding BDEPEND="dev-libs/libpcre2" to cmake-utils

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
a17r added 2 commits June 9, 2026 23:28
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
…ackage()

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
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.

1 participant