X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=examples%2FCMakeLists.txt;h=f98c403deb0b90ef3d6e9d8f73642374c44d847d;hb=c16fc548515f2fd01bc2cbe4befd822a636cc154;hp=b54adeb9be1f4df56c46597f510a86d434189cb4;hpb=a2c2f1ae849c8091ca8eabfb21eea7947c180c18;p=oota-llvm.git diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index b54adeb9be1..f98c403deb0 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -3,10 +3,10 @@ add_subdirectory(Fibonacci) add_subdirectory(HowToUseJIT) add_subdirectory(Kaleidoscope) add_subdirectory(ModuleMaker) -add_subdirectory(ExceptionDemo) -include(CheckIncludeFile) -check_include_file(pthread.h HAVE_PTHREAD_H) +if( ( NOT WIN32 ) AND ( NOT "${LLVM_NATIVE_ARCH}" STREQUAL "ARM" ) ) + add_subdirectory(ExceptionDemo) +endif() if( HAVE_PTHREAD_H ) add_subdirectory(ParallelJIT)