From 53860cfeb0f4bdd2ef2341624b4a662498d8d329 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Thu, 26 Jan 2012 03:33:40 +0000 Subject: Adjust CLANG_BUILD_EXAMPLES to mean whether the examples are built by default, rather than whether they may be built at all. llvm-svn: 149037 --- clang/examples/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'clang/examples') diff --git a/clang/examples/CMakeLists.txt b/clang/examples/CMakeLists.txt index 317bc81637d..7f4253af2eb 100644 --- a/clang/examples/CMakeLists.txt +++ b/clang/examples/CMakeLists.txt @@ -1,2 +1,6 @@ +if(NOT CLANG_BUILD_EXAMPLES) + set(EXCLUDE_FROM_ALL ON) +endif() + add_subdirectory(clang-interpreter) add_subdirectory(PrintFunctionNames) -- cgit v1.2.3