Skip to content

Conversation

@egorzhdan
Copy link
Contributor

This fixes a CMake error:

CMake Error at cmake-3.23/Modules/Internal/CheckSourceCompiles.cmake:44 (message):
  check_source_compiles: C: needs to be enabled before use.
Call Stack (most recent call first):
 cmake-3.23/Modules/CheckCSourceCompiles.cmake:76 (cmake_check_source_compiles)
  /Volumes/Projects/swift/build/Ninja-DebugAssert/llvm-macosx-arm64/lib/cmake/llvm/FindTerminfo.cmake:21 (check_c_source_compiles)
  /Volumes/Projects/swift/build/Ninja-DebugAssert/llvm-macosx-arm64/lib/cmake/llvm/LLVMConfig.cmake:186 (find_package)
  CMakeLists.txt:15 (find_package)

This fixes a CMake error:

```
CheckSourceCompiles.cmake:44 (message):
  check_source_compiles: C: needs to be enabled before use.
```
@egorzhdan egorzhdan merged commit 6db3783 into llvm.org/main Aug 24, 2022
@egorzhdan egorzhdan deleted the egorzhdan/cmake-c-language branch August 24, 2022 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants