Skip to content

Commit 04c8558

Browse files
committed
[libc] Fix issue introduces by #76449
Use correct CMake variable.
1 parent be0fa31 commit 04c8558

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/lib/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ add_custom_target(install-libc
7171
${header_install_target}
7272
COMMAND "${CMAKE_COMMAND}"
7373
-DCMAKE_INSTALL_COMPONENT=libc
74-
-P "${LIBCXX_BINARY_DIR}/cmake_install.cmake")
74+
-P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
7575
add_custom_target(install-libc-stripped
7676
DEPENDS ${added_archive_targets}
7777
${startup_target}
7878
${header_install_target}
7979
COMMAND "${CMAKE_COMMAND}"
8080
-DCMAKE_INSTALL_COMPONENT=libc
8181
-DCMAKE_INSTALL_DO_STRIP=1
82-
-P "${LIBCXX_BINARY_DIR}/cmake_install.cmake")
82+
-P "${CMAKE_BINARY_DIR}/cmake_install.cmake")

0 commit comments

Comments
 (0)