]> git.lyx.org Git - lyx.git/blobdiff - CMakeLists.txt
Revert "Remove dependences from .layout files"
[lyx.git] / CMakeLists.txt
index d1b448ca3a170f2d82bedb533106810a33399aa0..63b4ea20d4809571daca55c2b9146486996a820c 100644 (file)
@@ -260,7 +260,7 @@ if(NOT CXX11COMPILER_FOUND)
 endif()
 set(LYX_GCC11_MODE)
 if(UNIX OR MINGW)
-       if (CMAKE_CXX_COMPILER_ID MATCHES "^[cC]lang$")
+       if (CMAKE_CXX_COMPILER_ID MATCHES "^([cC]lang|AppleClang)$")
          # ignore the GCC_VERSION for clang
          # and use the resulting CXX11_STD_REGEX found in FindCXX11Compiler.cmake
          message(STATUS "Using clang")