Fixed version of https://phabricator.kde.org/D5449

Authored by arichardson on Apr 14 2017, 3:21 PM.

Description

Fixed version of https://phabricator.kde.org/D5449

check_cxx_compiler_flag writes to the CMake cache so the first check
applied to all compile flags. Fixed by using a unique variable name
per compile flag. Now also works with GCC on my system

Details

Committed
arichardsonApr 14 2017, 3:21 PM
Parents
R33:dd3fc9b64246: Revert "Simplify the checks for supported compiler warning flags"
Branches
Unknown
Tags
Unknown