summaryrefslogtreecommitdiffstats
path: root/llvm/examples/CMakeLists.txt
diff options
context:
space:
mode:
authorGarrison Venn <gvenn.cfe.dev@gmail.com>2010-02-10 02:50:08 +0000
committerGarrison Venn <gvenn.cfe.dev@gmail.com>2010-02-10 02:50:08 +0000
commitc824adb5935de01d591b12896f87fa160009f245 (patch)
tree6e250dbcb0694eca34a4775ed2ceb556b481dd81 /llvm/examples/CMakeLists.txt
parente9959a5f1acd9ad260234694fb8f793ba1ef0b2a (diff)
downloadbcm5719-llvm-c824adb5935de01d591b12896f87fa160009f245.tar.gz
bcm5719-llvm-c824adb5935de01d591b12896f87fa160009f245.zip
Prevented ExceptionDemo example being built on WINDOWS via if( NOT WIN32 )
check in examples cmake list file. This has NOT been tested. llvm-svn: 95761
Diffstat (limited to 'llvm/examples/CMakeLists.txt')
-rw-r--r--llvm/examples/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/examples/CMakeLists.txt b/llvm/examples/CMakeLists.txt
index b54adeb9be1..f60c0eda030 100644
--- a/llvm/examples/CMakeLists.txt
+++ b/llvm/examples/CMakeLists.txt
@@ -3,7 +3,10 @@ add_subdirectory(Fibonacci)
add_subdirectory(HowToUseJIT)
add_subdirectory(Kaleidoscope)
add_subdirectory(ModuleMaker)
-add_subdirectory(ExceptionDemo)
+
+if( NOT WIN32 )
+ add_subdirectory(ExceptionDemo)
+endif()
include(CheckIncludeFile)
check_include_file(pthread.h HAVE_PTHREAD_H)
OpenPOWER on IntegriCloud