Page MenuHomePhabricator

[CMAKE] Attach the linker flags to target properties

Authored by Fabien on Jan 21 2020, 13:34.



This is achieved by using the add_link_options function instead of
appending the flags to the global CMAKE_EXE_LINKER_FLAGS variable.

Depends on D5035.

Test Plan
ninja check

Run the Gitian builds.

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Jan 21 2020, 13:34
Herald added a reviewer: Restricted Project. · View Herald TranscriptJan 21 2020, 13:34
deadalnix accepted this revision.Jan 21 2020, 14:00
This revision is now accepted and ready to land.Jan 21 2020, 14:00
This revision was automatically updated to reflect the committed changes.