Kornel Benko wrote: > I have a check for regex, what about the attached? > 1.) Determine if 'regex-source' compiles in FindCXX11Compiler.cmake > 2.) Use the value in case of 'clang' in CMakeLists.txt
Perfect, thanks a lot! > Maybe we should use this value unconditionally? This would depend on how exactly the old gcc regex implementation is: If it is broken at compile time we could use it unconditionally. If it is broken only at runtime it would not help. I would play on the safe side here and use explicitly our knowledge that it is broken for old gcc. Georg