JDevlieghere updated this revision to Diff 178727.
JDevlieghere retitled this revision from "[cmake] Make libcxx(abi) a dependency 
when building in-tree clang" to "[cmake] Make libcxx(abi) a dependency when 
building in-tree clang for macOS".
JDevlieghere added a comment.

Only do this for macOS


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55837/new/

https://reviews.llvm.org/D55837

Files:
  CMakeLists.txt


Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -157,6 +157,10 @@
 
   if(TARGET clang)
     list(APPEND LLDB_TEST_DEPS clang)
+    if(APPLE)
+      list(APPEND LLDB_TEST_DEPS cxx)
+      list(APPEND LLDB_TEST_DEPS cxxabi)
+    endif()
   endif()
 
   if(TARGET dsymutil)


Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -157,6 +157,10 @@
 
   if(TARGET clang)
     list(APPEND LLDB_TEST_DEPS clang)
+    if(APPLE)
+      list(APPEND LLDB_TEST_DEPS cxx)
+      list(APPEND LLDB_TEST_DEPS cxxabi)
+    endif()
   endif()
 
   if(TARGET dsymutil)
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to