[all-commits] [llvm/llvm-project] e3ad70: [CMake] Add missing CheckCSourceCompiles include
Sam James via All-commits
all-commits at lists.llvm.org
Sat Jun 10 11:21:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e3ad7081ac0752daa380cd7ec58c7909f43826ad
https://github.com/llvm/llvm-project/commit/e3ad7081ac0752daa380cd7ec58c7909f43826ad
Author: Sam James <sam at gentoo.org>
Date: 2023-06-10 (Sat, 10 Jun 2023)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
[CMake] Add missing CheckCSourceCompiles include
Fails with cmake-3.27_rc1 otherwise:
```
CMake Error at /var/tmp/portage/sys-libs/libcxxabi-17.0.0_pre20230609/work/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)
```
Needed for CHECK_C_SOURCE_COMPILES.
Bug: https://bugs.gentoo.org/908233
Reviewed By: mgorny
Differential Revision: https://reviews.llvm.org/D152622
More information about the All-commits
mailing list