[PATCH] D63097: [cmake] Don't add Support/Testing library if tests are not included

Diego Novillo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 15:08:36 PDT 2019


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL365836: Fix build errors LLVM tests are disabled. (authored by dnovillo, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D63097?vs=205137&id=209353#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D63097

Files:
  llvm/trunk/lib/CMakeLists.txt


Index: llvm/trunk/lib/CMakeLists.txt
===================================================================
--- llvm/trunk/lib/CMakeLists.txt
+++ llvm/trunk/lib/CMakeLists.txt
@@ -28,5 +28,7 @@
 add_subdirectory(TextAPI)
 add_subdirectory(ToolDrivers)
 add_subdirectory(XRay)
-add_subdirectory(Testing)
+if (LLVM_INCLUDE_TESTS)
+  add_subdirectory(Testing)
+endif()
 add_subdirectory(WindowsManifest)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63097.209353.patch
Type: text/x-patch
Size: 398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190711/2b04e5d8/attachment.bin>


More information about the llvm-commits mailing list