From dc5403d2dc61343bbf07b9d739b152acd2390c87 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Wed, 21 Aug 2019 08:21:51 +0000 Subject: [PATCH] Properly EXCLUDE_FROM_ALL the testing support library The EXCLUDE_FROM_ALL variable is used by add_llvm_library, but lldb does not use that function (it uses llvm_add_library :P). Instead, set the directory property with the same name directly. This should fix standalone builds against an llvm install tree. llvm-svn: 369502 --- lldb/unittests/TestingSupport/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/unittests/TestingSupport/CMakeLists.txt b/lldb/unittests/TestingSupport/CMakeLists.txt index 922025d..7efe6f5 100644 --- a/lldb/unittests/TestingSupport/CMakeLists.txt +++ b/lldb/unittests/TestingSupport/CMakeLists.txt @@ -1,4 +1,4 @@ -set(EXCLUDE_FROM_ALL ON) +set_property(DIRECTORY PROPERTY EXCLUDE_FROM_ALL ON) add_lldb_library(lldbUtilityHelpers MockTildeExpressionResolver.cpp TestUtilities.cpp -- 2.7.4