]> granicus.if.org Git - clang/commitdiff
Honour CLANG_BUILD_EXAMPLES correctly, by setting the directory's
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 3 May 2012 19:11:45 +0000 (19:11 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 3 May 2012 19:11:45 +0000 (19:11 +0000)
EXCLUDE_FROM_ALL property.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156090 91177308-0d34-0410-b5e6-96231b3b80d8

examples/CMakeLists.txt

index 19d886935d4e9fe623188461f0dd58bc83cf0d9c..84a5d2cecbe4e1e32b7cf41717caadd6a2717d5b 100644 (file)
@@ -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)