make docbook compilation optional
ClosedPublic

Authored by sitter on Nov 22 2017, 10:49 AM.

Details

Summary

khelpcenter isn't nearly as omnipresent as it was and redirecting the user
to the html render of the documentation online is a very common occurance.
in particular on Windows where I think we do not even ship the docbooks
at all.

Test Plan

cmake reports dep as optional

Diff Detail

Repository
R352 Filelight
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sitter created this revision.Nov 22 2017, 10:49 AM
Restricted Application added a subscriber: kde-utils-devel. · View Herald TranscriptNov 22 2017, 10:49 AM
adridg accepted this revision.Dec 6 2017, 6:30 PM
This revision is now accepted and ready to land.Dec 6 2017, 6:30 PM
This revision was automatically updated to reflect the committed changes.

Btw, why not use OPTIONAL_COMPONENTS in find_package? Then you only need to call find_package once.