[libc-commits] [PATCH] D99636: libc: Default LIBC_INSTALL_PREFIX to ${CMAKE_INSTALL_PREFIX}
Nathan Chancellor via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue Mar 30 21:48:51 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4e0045cc9b00: libc: Default LIBC_INSTALL_PREFIX to ${CMAKE_INSTALL_PREFIX} (authored by nathanchance).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99636/new/
https://reviews.llvm.org/D99636
Files:
libc/CMakeLists.txt
Index: libc/CMakeLists.txt
===================================================================
--- libc/CMakeLists.txt
+++ libc/CMakeLists.txt
@@ -14,7 +14,7 @@
# Path libc/scripts directory.
set(LIBC_BUILD_SCRIPTS_DIR "${LIBC_SOURCE_DIR}/utils/build_scripts")
-set(LIBC_INSTALL_PREFIX "" CACHE STRING "Define libc destination prefix.")
+set(LIBC_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX} CACHE PATH "Define libc destination prefix.")
set(LIBC_TARGET_OS ${CMAKE_SYSTEM_NAME})
string(TOLOWER ${LIBC_TARGET_OS} LIBC_TARGET_OS)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99636.334339.patch
Type: text/x-patch
Size: 530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210331/6e74cc73/attachment.bin>
More information about the libc-commits
mailing list