summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-08-21 08:21:51 +0000
committerPavel Labath <pavel@labath.sk>2019-08-21 08:21:51 +0000
commitdc5403d2dc61343bbf07b9d739b152acd2390c87 (patch)
treea04124c7bfd32dc8d80426ebc4a64ad5af8314fa
parentd1262a6e91d5c62120d7f5783821f12e81b079dd (diff)
downloadbcm5719-llvm-dc5403d2dc61343bbf07b9d739b152acd2390c87.tar.gz
bcm5719-llvm-dc5403d2dc61343bbf07b9d739b152acd2390c87.zip
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
-rw-r--r--lldb/unittests/TestingSupport/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/unittests/TestingSupport/CMakeLists.txt b/lldb/unittests/TestingSupport/CMakeLists.txt
index 922025d8c23..7efe6f57d98 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
OpenPOWER on IntegriCloud