Hi,
I import some libs like this:
add_library(${name} ${type} IMPORTED)
set_target_properties(${name} PROPERTIES
IMPORTED_LINK_INTERFACE_LIBRARIES "${other_imported_libs}"
IMPORTED_LOCATION "${file}"
)
At the end, I link an executable which gets all required libs thanks to
the imported interface property.
Now, I need one of these imported libs to be surrouned like this: -z
allextract ${the_lib} -z defaultextract
I find no working way to add these flags in the
IMPORTED_LINK_INTERFACE_LIBRARIES properties to get them properly at
link time. What solution do I have?
Thanks
Alexandre
This email was sent to you by Thomson Reuters, the global news and information
company.
Any views expressed in this message are those of the individual sender, except
where the sender specifically states them to be the views of Thomson Reuters.
_______________________________________________
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