diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-10-12 13:56:14 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-10-12 13:56:14 +0000 |
| commit | 09319f688e10d47f9fc9be2b6feb831fb132660a (patch) | |
| tree | 99b6c5d03da1136ebee2e1c3028f330099e49e05 /CMakeScripts/HelperMacros.cmake | |
| parent | Update DefineDependsandFlags.cmake (diff) | |
| download | inkscape-09319f688e10d47f9fc9be2b6feb831fb132660a.tar.gz inkscape-09319f688e10d47f9fc9be2b6feb831fb132660a.zip | |
CMake: Avoid reordering CMAKE_CXX_FLAGS
Order matters; the reordering caused the _FORTIFY_SOURCE flag to be
always undefined (as we flipped a "-U" and "-D")
Also skip removing duplicates to avoid similar pitfalls (we kept
only the first occurrence but should've kept the last)
It did not work properly anyway (we still had duplicates in the end)
and was only required as we wrote the final CMAKE_CXX_FLAGS back to
cache and consequently appended new flags with every run of CMAKE.
Diffstat (limited to 'CMakeScripts/HelperMacros.cmake')
0 files changed, 0 insertions, 0 deletions
