[PATCH] D137724: [CMake] Warn when the version is older than 3.20.0.

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 9 12:41:44 PST 2022


mgorny added inline comments.


================
Comment at: clang/CMakeLists.txt:14
   set(CLANG_BUILT_STANDALONE TRUE)
+  if ("${CMAKE_VERSION}" VERSION_LESS "3.20.0")
+    message(WARNING
----------------
I wonder if we could move this to `CMakePolicy.cmake`, though admittedly you'd have to somehow avoid warning multiple times in in-tree builds.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137724/new/

https://reviews.llvm.org/D137724



More information about the cfe-commits mailing list