[CMake] Abuse of find_package COMPONENTS, or not?

Denis Scherbakov denis_scherbakov at yahoo.com
Wed May 20 10:29:15 EDT 2009



 
> What do you mean with like FindBoost did? Can you be a bit
> more
> specific? 

Like

set(FFTW_DO_SOMETHING ON)
find_package(FindeFFTW)

If you say that your components are mutually exclusive, then I'd rather use a flag than a component name.

But you're the author, so you decide.

Denis



      


More information about the CMake mailing list