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.