diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-09-14 20:59:11 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-09-14 20:59:11 +0200 |
commit | 51ebb9166df1dee7831d9ab25aaa8e70bd65aa16 (patch) | |
tree | 106b3918e1a0607b7c01ac3abdb2b2d6158fb45a /lib/csapi | |
parent | 95d3f0607556e66666b3974486b061fc4372ede0 (diff) | |
download | libquotient-51ebb9166df1dee7831d9ab25aaa8e70bd65aa16.tar.gz libquotient-51ebb9166df1dee7831d9ab25aaa8e70bd65aa16.zip |
CMakeLists: add flags more carefully for non-Windows
Previous logic wasn't quite accurate with detection of existing flags
in CMAKE_CXX_FLAGS - the new code doesn't add a flag if the negating
flag is already there. This required separate treatment of positive
and negative (-Wno-*) flags.
Diffstat (limited to 'lib/csapi')
0 files changed, 0 insertions, 0 deletions