Skip to content

[RFC] Revitalize find-package mode

Requesting early stage comments on potentially restoring the find-package tool mode

Issue: #17236

Testing

So far only tested that I can get the include directories printed out.
With libdocopt-dev installed,
cmake --find-package -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DNAME=docopt -DMODE=COMPILE -DTARGET=docopt .
prints out /usr/include/docopt

Commit

  • WIP: find-package-mode, a new hope

Preliminary support for exporting include directories and link libraries from targets.

Issue: #17236

Signed-off-by: Eero Aaltonen eero.aaltonen@vaisala.com

Merge request reports