[PATCH] D62336: [CMake] Fixing errors in r361513

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 23 11:52:12 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL361535: [CMake] Fixing errors in r361513 (authored by cbieneman, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D62336?vs=201031&id=201034#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D62336

Files:
  llvm/trunk/runtimes/CMakeLists.txt


Index: llvm/trunk/runtimes/CMakeLists.txt
===================================================================
--- llvm/trunk/runtimes/CMakeLists.txt
+++ llvm/trunk/runtimes/CMakeLists.txt
@@ -209,7 +209,7 @@
 
 else() # if this is included from LLVM's CMake
   include(LLVMExternalProjectUtils)
-  if (LLVM_EXTERNAL_LIBCXX_SOURCE_DIR)
+  if (LLVM_EXTERNAL_LIBCXX_SOURCE_DIR AND "libcxx" IN_LIST LLVM_ENABLE_RUNTIMES)
     set(LIBCXX_HEADER_DIR ${LLVM_INCLUDE_DIR}/c++/v1/)
     set(CXX_HEADER_TARGET runtime-libcxx-headers)
     add_subdirectory(${LLVM_EXTERNAL_LIBCXX_SOURCE_DIR}/include ${CXX_HEADER_TARGET})


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62336.201034.patch
Type: text/x-patch
Size: 611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190523/920d8211/attachment.bin>


More information about the llvm-commits mailing list