HomePhabricator

[CMAKE] Get rid of `add_compiler_flags_to_var`

Authored by Fabien on Jan 16 2020, 16:07.

Description

[CMAKE] Get rid of add_compiler_flags_to_var

Summary:
The last callsite is in the check_linker_flags function. Adding the
logic at the callsite allow to remove this function from the API.

There is no change in behavior.

Depends on D4961.

Test Plan:

ninja check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5002

Details

Committed
FabienJan 20 2020, 15:29
Pushed
FabienJan 20 2020, 15:29
Reviewer
Restricted Project
Differential Revision
D5002: [CMAKE] Get rid of `add_compiler_flags_to_var`
Parents
rABC8f2432151c56: [CMAKE] Add a check_linker_flag function
Branches
Unknown
Tags
Unknown