[libcxx-commits] [libc] [libcxx] [llvm] [libcxx][libc] Hand in Hand PoC with from_chars (PR #91651)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Aug 15 11:55:30 PDT 2024
================
@@ -176,11 +177,13 @@ endif()
split_list(LIBCXX_COMPILE_FLAGS)
split_list(LIBCXX_LINK_FLAGS)
+include(FindLibcUtils)
+
# Build the shared library.
if (LIBCXX_ENABLE_SHARED)
add_library(cxx_shared SHARED ${exclude_from_all} ${LIBCXX_SOURCES} ${LIBCXX_HEADERS})
target_include_directories(cxx_shared PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
- target_link_libraries(cxx_shared PUBLIC cxx-headers libcxx-libc-shared
+ target_link_libraries(cxx_shared PUBLIC cxx-headers libcxx-libc-shared llvm-libc-shared-utilities
----------------
ldionne wrote:
This should be in the `PRIVATE` section of `target_link_libraries`. We don't want to propagate this usage requirement to anything else that might link against these CMake targets, since it's an implementation detail.
https://github.com/llvm/llvm-project/pull/91651
More information about the libcxx-commits
mailing list