[lld] r249050 - [CMake] Don't include the lld test directory if LLVM_INCLUDE_TESTS is Off
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 1 11:17:48 PDT 2015
Author: cbieneman
Date: Thu Oct 1 13:17:47 2015
New Revision: 249050
URL: http://llvm.org/viewvc/llvm-project?rev=249050&view=rev
Log:
[CMake] Don't include the lld test directory if LLVM_INCLUDE_TESTS is Off
This matches the behavior of LLVM and Clang.
Modified:
lld/trunk/CMakeLists.txt
Modified: lld/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/CMakeLists.txt?rev=249050&r1=249049&r2=249050&view=diff
==============================================================================
--- lld/trunk/CMakeLists.txt (original)
+++ lld/trunk/CMakeLists.txt Thu Oct 1 13:17:47 2015
@@ -89,9 +89,8 @@ endif()
add_subdirectory(lib)
add_subdirectory(tools)
-add_subdirectory(test)
-
if (LLVM_INCLUDE_TESTS)
+ add_subdirectory(test)
add_subdirectory(unittests)
endif()
More information about the llvm-commits
mailing list