From 4857ff7ad0e7d0569e6b54ffe02ac43e621a5bd4 Mon Sep 17 00:00:00 2001 From: Garrison Venn Date: Wed, 10 Feb 2010 02:50:08 +0000 Subject: [PATCH] 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 --- examples/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index b54adeb9be1..f60c0eda030 100644 --- a/examples/CMakeLists.txt +++ b/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)