add_subdirectory(Kaleidoscope)
add_subdirectory(ModuleMaker)
-if( NOT WIN32 )
+if(LLVM_ENABLE_EH AND (NOT WIN32) AND (NOT "${LLVM_NATIVE_ARCH}" STREQUAL "ARM"))
add_subdirectory(ExceptionDemo)
endif()
-include(CheckIncludeFile)
-check_include_file(pthread.h HAVE_PTHREAD_H)
-
if( HAVE_PTHREAD_H )
add_subdirectory(ParallelJIT)
endif( HAVE_PTHREAD_H )