[libcxx-commits] [libcxxabi] 0740b7e - [libc++abi][NFC] Remove mentions of LIBCXXABI_SHARED_LIBRARIES

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 20 11:52:07 PDT 2023


Author: Louis Dionne
Date: 2023-09-20T14:52:02-04:00
New Revision: 0740b7e3e2fae8f786df7e43ff07ec7d68082c2b

URL: https://github.com/llvm/llvm-project/commit/0740b7e3e2fae8f786df7e43ff07ec7d68082c2b
DIFF: https://github.com/llvm/llvm-project/commit/0740b7e3e2fae8f786df7e43ff07ec7d68082c2b.diff

LOG: [libc++abi][NFC] Remove mentions of LIBCXXABI_SHARED_LIBRARIES

LIBCXXABI_SHARED_LIBRARIES doesn't exist anymore, so this always expanded
to nothing at all.

Added: 
    

Modified: 
    libcxxabi/src/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libcxxabi/src/CMakeLists.txt b/libcxxabi/src/CMakeLists.txt
index 3ad755803ac9c87..3decda3519588d7 100644
--- a/libcxxabi/src/CMakeLists.txt
+++ b/libcxxabi/src/CMakeLists.txt
@@ -168,7 +168,7 @@ if (LIBCXXABI_USE_LLVM_UNWINDER)
     target_link_libraries(cxxabi_shared_objects PUBLIC unwind_shared)
   endif()
 endif()
-target_link_libraries(cxxabi_shared_objects PRIVATE cxx-headers ${LIBCXXABI_BUILTINS_LIBRARY} ${LIBCXXABI_SHARED_LIBRARIES} ${LIBCXXABI_LIBRARIES})
+target_link_libraries(cxxabi_shared_objects PRIVATE cxx-headers ${LIBCXXABI_BUILTINS_LIBRARY} ${LIBCXXABI_LIBRARIES})
 target_link_libraries(cxxabi_shared_objects PUBLIC cxxabi-headers)
 set_target_properties(cxxabi_shared_objects
   PROPERTIES
@@ -204,7 +204,7 @@ if (LIBCXXABI_ENABLE_SHARED)
 
   target_link_libraries(cxxabi_shared
     PUBLIC cxxabi_shared_objects
-    PRIVATE ${LIBCXXABI_SHARED_LIBRARIES} ${LIBCXXABI_LIBRARIES})
+    PRIVATE ${LIBCXXABI_LIBRARIES})
 
   list(APPEND LIBCXXABI_BUILD_TARGETS "cxxabi_shared")
   if (LIBCXXABI_INSTALL_SHARED_LIBRARY)


        


More information about the libcxx-commits mailing list