================ @@ -1304,11 +1304,59 @@ if (LLVM_BUILD_INSTRUMENTED AND LLVM_BUILD_INSTRUMENTED_COVERAGE) message(FATAL_ERROR "LLVM_BUILD_INSTRUMENTED and LLVM_BUILD_INSTRUMENTED_COVERAGE cannot both be specified") endif() +if(NOT DEFINED CMAKE_DISABLE_PRECOMPILE_HEADERS) ---------------- aengelke wrote:
> Why it's CMAKE_DISABLE_PRECOMPILE_HEADERS and not > CMAKE_ENABLE_PRECOMPILE_HEADERS? Don't ask me, that's [how CMake named the variable](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_PRECOMPILE_HEADERS.html#variable:CMAKE_DISABLE_PRECOMPILE_HEADERS). #182819 should address the warnings in CMake 4.x, thanks for catching this. https://github.com/llvm/llvm-project/pull/176420 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
