summaryrefslogtreecommitdiff
path: root/CMake/Modules/FindLibIntl.cmake
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-04-18 11:57:40 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-04-20 17:52:51 +0200
commitb028cb59a7723ca3b7d2ffb5229750413e936e22 (patch)
treeb6bff8243cdef19fffd7873ca39fe08497960b6b /CMake/Modules/FindLibIntl.cmake
parentc74052c766df01eafc3cb5f98c46d779bee8b0e9 (diff)
downloadmana-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 'CMake/Modules/FindLibIntl.cmake')
0 files changed, 0 insertions, 0 deletions