Bug 394374

Summary: cmake check for runtime deps
Product: [Applications] okular Reporter: Harald Sitter <sitter>
Component: generalAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: aacid
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Harald Sitter 2018-05-17 14:47:06 UTC
I've noticed that okular has a fair number of findExecutable calls. It'd be really awesome if these runtime dependencies would get checked for in the cmakelists (like already done for kirigami).
This makes the requirements reasonably codified, points users to potential problems with their custom builds, and helps distros ensure all runtime deps are properly pulled in by their packaging.

In neon, for example, we have special tech parsing the cmake feature_summary output to check runtime dependencies are actually met.
Comment 1 Albert Astals Cid 2018-05-19 10:28:09 UTC
I'm really not a fan of runtime checks on compile time, but if someone has a nice patch i guess we could add it.