2018-02-06 13:15 GMT+03:00 Geogin Varghese :
> What is the recommended way of removing transitively inherited
> attributes for a target.
>
> Example:
> target_link_libraries(A PRIVATE B)
> target_compile_options(B PUBLIC -Werror)
>
Shouldn't it be PRIVATE for B?
E.g. target_compile_options(B PRIV
For stuff like this one you could add -Wno-error afterwards to A's
compile_options.
---
Jean-Michaël Celerier
http://www.jcelerier.name
On Tue, Feb 6, 2018 at 11:15 AM, Geogin Varghese wrote:
> What is the recommended way of removing transitively inherited
> attributes for a target.
>
> E
What is the recommended way of removing transitively inherited
attributes for a target.
Example:
target_link_libraries(A PRIVATE B)
target_compile_options(B PUBLIC -Werror)
How should the -Werror option be removed from target A.
--
Powered by www.kitware.com
Please keep messages on-topic and c