aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2012-05-03 19:11:45 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2012-05-03 19:11:45 +0000
commitb0998f9b5b39cdffa618af91fa62c8f816ba2e35 (patch)
tree8a2b4edbb42da46189b1f21dbcc0f67174c0d9bf /examples
parent90a7126f76b7511b0a073cbbcde40d1334b40542 (diff)
Honour CLANG_BUILD_EXAMPLES correctly, by setting the directory's
EXCLUDE_FROM_ALL property. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 19d886935d..84a5d2cecb 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,5 +1,5 @@
if(NOT CLANG_BUILD_EXAMPLES)
- set(EXCLUDE_FROM_ALL ON)
+ set_property(DIRECTORY PROPERTY EXCLUDE_FROM_ALL ON)
endif()
add_subdirectory(analyzer-plugin)