[CMake] install export : ignore imported_link_interface_libraries and imported_link_dependents_libraries

Jaonary Rabarisoa jaonary at gmail.com
Wed Nov 2 11:19:14 EDT 2011


Hi all,

I'm using the command install(EXPORT ) to create a configuration file for
my project. This works great but by default
cmake fills the IMPORTED_LINK_INTERFACE_LIBRARIES and
IMPORTED_LINK_DEPENDENTS_LIBRARIES. I'd like cmake
to ignore these properties because it introduces a hard link to my build
machine. For example, it output a hard to boost libraries, which
are in fact use in may project.
So is there a way to tell cmake to ignore these properties while exporting
a target ?

Best regards,

Jaonary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111102/d9b31736/attachment.htm>


More information about the CMake mailing list