[all-commits] [llvm/llvm-project] 9c3940: [CMake] Fixes using CMake 3.27.0.

Mark de Wever via All-commits all-commits at lists.llvm.org
Thu Jun 15 08:31:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c39400d1a0ff80b31d4b12728f1ff37dc5fe0f5
      https://github.com/llvm/llvm-project/commit/9c39400d1a0ff80b31d4b12728f1ff37dc5fe0f5
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M llvm/cmake/modules/HandleLLVMOptions.cmake

  Log Message:
  -----------
  [CMake] Fixes using CMake 3.27.0.

Testing libc++ with CMake 3.27.0-rc1 fails. It seems some of the modules
used in CMake are not included.

The error before this change was
```
CMake Error at <mono-repo>/llvm/cmake/modules/HandleLLVMOptions.cmake:821 (CHECK_C_SOURCE_COMPILES):
  Unknown CMake command "CHECK_C_SOURCE_COMPILES".
Call Stack (most recent call first):
  CMakeLists.txt:156 (include)
```

Reviewed By: thesamesam

Differential Revision: https://reviews.llvm.org/D152619




More information about the All-commits mailing list