Skip to content

Commit 366d5ac

Browse files
committed
Disable PCH by default
1 parent 7e24657 commit 366d5ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: llvm/cmake/modules/HandleLLVMOptions.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -538,10 +538,10 @@ endif()
538538

539539
option(LLVM_ENABLE_WARNINGS "Enable compiler warnings." ON)
540540

541-
option(LLVM_ENABLE_LIB_PRECOMPILED_HEADERS "Enable precompiled headers for LLVM Lib projects to improve build times." ON)
541+
option(LLVM_ENABLE_LIB_PRECOMPILED_HEADERS "Enable precompiled headers for LLVM Lib projects to improve build times." OFF)
542542

543543
set(LLVM_LIB_DIRETORIES_FOR_PRECOMPILED_HEADERS ""
544-
CACHE STRING "Semicolon-separated list of lib subdirectories to use precompiled headers")
544+
CACHE STRING "Semicolon-separated list of llvm/lib/ subdirectories to use precompiled headers")
545545

546546
if( MSVC )
547547

0 commit comments

Comments
 (0)