X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=examples%2FCMakeLists.txt;h=5727066d6227b37e3615a9bc057a9cbf703322ca;hb=599ae7ee1c1b51989e430b7edc24eb1ac6cc5b3a;hp=54ee6cc3a3a41ee0188b8be3f5ecd8c338772c79;hpb=af62935bce59d1086327c0a1767ff3c269e87425;p=oota-llvm.git diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 54ee6cc3a3a..5727066d622 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -4,7 +4,7 @@ add_subdirectory(HowToUseJIT) 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()