> Am 10.06.2018 um 22:02 schrieb Kornel Benko <kor...@lyx.org>: > > Am Sonntag, 10. Juni 2018 20:37:51 CEST schrieb Stephan Witt > <st.w...@gmx.net>: > > Here is a patch for AppleClang. > > I don’t know why it’s needed now and not earlier. > > For me it would be needed only if clang name recently changed. > (Or maybe nobody tested with fresh CMakeCache.txt)
Yes, cmake has changed - see here: https://cmake.org/cmake/help/v3.0/policy/CMP0025.html Stephan > > > Without it the Apple compiler version 4.2.1 is rated too low. > > > > Does this make sense? Furthermore, should lyx/development/cmake/modules/FindCXX11Compiler.cmake be changed too? Or should we set CMP0025? Stephan > > Only if clang name recently changed > Is RE "^(Apple)?[Cc]lang$" not working? Is RE "^([cC]lang|AppleClang)$" not ok? Or even "^(Clang|AppleClang)$“? > > > Stephan > > Kornel