X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=examples%2FCMakeLists.txt;h=f60c0eda030612b50e69b91b6532e3abf2a82f8d;hb=e9f8f5e6004fd49f2aff4dd23db8e9b0e4454fc6;hp=b54adeb9be1f4df56c46597f510a86d434189cb4;hpb=a2c2f1ae849c8091ca8eabfb21eea7947c180c18;p=oota-llvm.git 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)