[libc] Fix issue introduces by #76449

Use correct CMake variable.
This commit is contained in:
Petr Hosek 2024-01-22 03:26:18 +00:00
parent be0fa319f9
commit 04c8558759

View File

@ -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")