diff options
author | DDoSolitary <DDoSolitary@gmail.com> | 2021-01-23 11:30:39 +0800 |
---|---|---|
committer | DDoSolitary <DDoSolitary@gmail.com> | 2021-02-04 18:04:15 +0800 |
commit | 06799453835d2c6608c074823ccfc399ccc0c525 (patch) | |
tree | bcf4b0d1c4e357f60d1a030822a4227c1f39a8f3 /libssh-config-version.cmake.in | |
parent | b90cc79cbe40309d0a54d0b53a93778fa5b06f31 (diff) | |
download | libssh-06799453835d2c6608c074823ccfc399ccc0c525.tar.gz libssh-06799453835d2c6608c074823ccfc399ccc0c525.tar.xz libssh-06799453835d2c6608c074823ccfc399ccc0c525.zip |
cmake: Avoid setting compiler flags directly
Calling set_target_properties directly overrides previously set flags,
so replace them with target_compile_definitions and target_link_options.
Signed-off-by: DDoSolitary <DDoSolitary@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'libssh-config-version.cmake.in')
0 files changed, 0 insertions, 0 deletions