[libcxx-commits] [libcxx] [libcxx][CMake] Use the right variable in the C library error message (PR #138458)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun May 4 09:47:10 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Raul Tambre (tambry)
<details>
<summary>Changes</summary>
Fixes: 3b78dfa10c4b77581cc29c4510aefe919ae660ba
---
Full diff: https://github.com/llvm/llvm-project/pull/138458.diff
1 Files Affected:
- (modified) libcxx/CMakeLists.txt (+1-1)
``````````diff
diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt
index ebaa6e9fd0e97..ac5aece3281a4 100644
--- a/libcxx/CMakeLists.txt
+++ b/libcxx/CMakeLists.txt
@@ -230,7 +230,7 @@ option(LIBCXX_USE_COMPILER_RT "Use compiler-rt instead of libgcc" OFF)
set(LIBCXX_SUPPORTED_C_LIBRARIES system llvm-libc)
set(LIBCXX_LIBC "system" CACHE STRING "Specify C library to use. Supported values are ${LIBCXX_SUPPORTED_C_LIBRARIES}.")
if (NOT "${LIBCXX_LIBC}" IN_LIST LIBCXX_SUPPORTED_C_LIBRARIES)
- message(FATAL_ERROR "Unsupported C library: '${LIBCXX_CXX_ABI}'. Supported values are ${LIBCXX_SUPPORTED_C_LIBRARIES}.")
+ message(FATAL_ERROR "Unsupported C library: '${LIBCXX_LIBC}'. Supported values are ${LIBCXX_SUPPORTED_C_LIBRARIES}.")
endif()
# ABI Library options ---------------------------------------------------------
``````````
</details>
https://github.com/llvm/llvm-project/pull/138458
More information about the libcxx-commits
mailing list