[CMake] packaging configuration files
James C. Sutherland
James.Sutherland at utah.edu
Sat Nov 7 14:53:34 EST 2009
On Nov 7, 2009, at 11:59 AM, James C. Sutherland wrote:
> I have been using
> export_library_dependencies()
> to incorporate library dependencies when generating configuration
> files for use with find_package()
>
> However, I just discovered that this is a deprecated feature, and that
> install(EXPORT...)
> should be used instead.
>
> However, it is not clear to me how to incorporate dependencies when
> using the install(EXPORT) approach. Are we now supposed to do this
> manually, or am I missing something?
>
> Thanks,
>
> James
>
I think that I have this figured out now. I am collecting the library
dependencies and shoving them into the Config file that find_package()
uses. This seems to work just fine.
Sorry for the false alarm...
More information about the CMake
mailing list