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...
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to