xmllint is required later anyway, and kio_help has the check.
BUG: 376246
Details
Details
- Reviewers
winterz - Commits
- R238:d7e0d20ae5f6: Fail the build early if xmllint is not available
If xmllint is not available, compilation fails in the cmake phase.
Diff Detail
Diff Detail
- Repository
- R238 KDocTools
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
guess this is the best you can do given that FindLibXml2 sets LibXml2_FOUND even if xmllint is not found.
Comment Actions
I would say that the LibXML2 behaviour is correct. This "if" is what kio does as well, the same code was in kdelibs4/kdoctools but it was lost here in the split.
(if you approve the change, please remember to select the specific action for it)