[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 2 Mar 2014 20:47:34 +0000 (20:47 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 2 Mar 2014 20:47:34 +0000 (20:47 +0000)
* Disable PCH in Clang builds. We'll inspect this later.

svn path=/trunk/; revision=62391

reactos/CMakeLists.txt

index 6814331..f590ed8 100644 (file)
@@ -134,7 +134,7 @@ else()
         add_definitions(-D_WINKD_=1)
     endif()
 
-    if((NOT DEFINED PCH) AND (CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS"))
+    if((NOT DEFINED PCH) AND (CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS") AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
         set(PCH 1)
     else()
         set(PCH 0)