Skip to content

Commit 9251b7d

Browse files
committed
Honour CLANG_BUILD_EXAMPLES correctly, by setting the directory's
EXCLUDE_FROM_ALL property. llvm-svn: 156090
1 parent 1d4660b commit 9251b7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/examples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if(NOT CLANG_BUILD_EXAMPLES)
2-
set(EXCLUDE_FROM_ALL ON)
2+
set_property(DIRECTORY PROPERTY EXCLUDE_FROM_ALL ON)
33
endif()
44

55
add_subdirectory(analyzer-plugin)

0 commit comments

Comments
 (0)