diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-04-18 11:57:40 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-04-20 17:52:51 +0200 |
commit | b028cb59a7723ca3b7d2ffb5229750413e936e22 (patch) | |
tree | b6bff8243cdef19fffd7873ca39fe08497960b6b /docs | |
parent | c74052c766df01eafc3cb5f98c46d779bee8b0e9 (diff) | |
download | mana-b028cb59a7723ca3b7d2ffb5229750413e936e22.tar.gz mana-b028cb59a7723ca3b7d2ffb5229750413e936e22.tar.bz2 mana-b028cb59a7723ca3b7d2ffb5229750413e936e22.tar.xz mana-b028cb59a7723ca3b7d2ffb5229750413e936e22.zip |
CMake: Use add_compile_definitions instead of setting COMPILE_FLAGS
This is supported since CMake 3.12 (current minimum) and simplifies the
whole quoting business.
Also used a generator expression to set the DEBUG define conditionally.
At the same time, DEBUG is no longer defined in RelWithDebInfo builds,
but it shouldn't be.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions