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