Browse Source

Remove temporary workaround which appears to be redundant now.

Yao Wei Tjong 姚伟忠 8 years ago
parent
commit
4068d2474e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      CMake/Modules/CheckHost.cmake

+ 2 - 2
CMake/Modules/CheckHost.cmake

@@ -81,8 +81,8 @@ else ()
     endif ()
     endif ()
     # Temporary workaround - test if PCH could be enabled when using Clang compiler toolchain
     # Temporary workaround - test if PCH could be enabled when using Clang compiler toolchain
     if (CMAKE_CXX_COMPILER_ID MATCHES Clang)
     if (CMAKE_CXX_COMPILER_ID MATCHES Clang)
-        # Turn off PCH when building on macOS host with ccache 3.3.1+ (the last known bad version) and when targeting Android and Web platforms
-        if ((APPLE AND NOT CCACHE_VERSION VERSION_LESS 3.3.1) OR ANDROID OR WEB)
+        # Turn off PCH when building on macOS host with ccache 3.3.1+ (the last known bad version)
+        if ((APPLE AND NOT CCACHE_VERSION VERSION_LESS 3.3.1))
             set (URHO3D_PCH FALSE CACHE INTERNAL "" FORCE)
             set (URHO3D_PCH FALSE CACHE INTERNAL "" FORCE)
         endif ()
         endif ()
     endif ()
     endif ()