]> git.lyx.org Git - features.git/commit
Fix std::regex detection for older gcc
authorGeorg Baum <baum@lyx.org>
Sat, 2 Jul 2016 10:39:08 +0000 (12:39 +0200)
committerGeorg Baum <baum@lyx.org>
Sat, 2 Jul 2016 10:39:08 +0000 (12:39 +0200)
commite49d59dafc37c38642a640504fe00e696116af26
treea2f168c756ce4e99cb95938320966168237729d2
parent5ef180842c65b775f503a0e6ae617a43da4f1afc
Fix std::regex detection for older gcc

Older gcc versions (e.g. the first one which has usable std::regex: gcc 4.9)
require the --std=c++11 flag to be set. Otherwise std::regex is not made
available. Therefore we need to keep the flag in the loop.
development/cmake/modules/FindCXX11Compiler.cmake