[CMake] How to handle find_package inter-dependencies
Gregor Jasny
gjasny at googlemail.com
Mon Mar 10 15:53:37 EDT 2014
Hello,
I wrote some FindXYZ modules that utilize FindPackageHandleStandardArgs
to find precompiled libraries. Now I have to "find" a library that
itself depends on another library and I wonder what's the recommended
way to do so?
I thought about nesting the find_package calls but then I have the
problem of forwarding options like REQUIRED from the outmost invocation.
Do you have any recommendations?
Thanks,
Gregor
More information about the CMake
mailing list