aboutsummaryrefslogtreecommitdiff
path: root/libc/lib
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2024-01-22 03:26:18 +0000
committerPetr Hosek <phosek@google.com>2024-01-22 03:26:18 +0000
commit04c85587596ab10d885a957a00c8fa22740f15c1 (patch)
tree3c811c9b72dca91b65dfa576c619fa73eff4f184 /libc/lib
parentbe0fa319f922e6ea3661640aa55f6b9092be5a99 (diff)
downloadllvm-04c85587596ab10d885a957a00c8fa22740f15c1.zip
llvm-04c85587596ab10d885a957a00c8fa22740f15c1.tar.gz
llvm-04c85587596ab10d885a957a00c8fa22740f15c1.tar.bz2
[libc] Fix issue introduces by #76449
Use correct CMake variable.
Diffstat (limited to 'libc/lib')
-rw-r--r--libc/lib/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/lib/CMakeLists.txt b/libc/lib/CMakeLists.txt
index 66aaa34..af7ef2d 100644
--- a/libc/lib/CMakeLists.txt
+++ b/libc/lib/CMakeLists.txt
@@ -71,7 +71,7 @@ add_custom_target(install-libc
${header_install_target}
COMMAND "${CMAKE_COMMAND}"
-DCMAKE_INSTALL_COMPONENT=libc
- -P "${LIBCXX_BINARY_DIR}/cmake_install.cmake")
+ -P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
add_custom_target(install-libc-stripped
DEPENDS ${added_archive_targets}
${startup_target}
@@ -79,4 +79,4 @@ add_custom_target(install-libc-stripped
COMMAND "${CMAKE_COMMAND}"
-DCMAKE_INSTALL_COMPONENT=libc
-DCMAKE_INSTALL_DO_STRIP=1
- -P "${LIBCXX_BINARY_DIR}/cmake_install.cmake")
+ -P "${CMAKE_BINARY_DIR}/cmake_install.cmake")