X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=examples%2FCMakeLists.txt;h=5727066d6227b37e3615a9bc057a9cbf703322ca;hp=f98c403deb0b90ef3d6e9d8f73642374c44d847d;hb=49c02eaad55b68f58d4abdbc22eb08b92a024437;hpb=4839a7de4b4ab932c25b67324b629cefa3b230cd diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index f98c403deb0..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 ) AND ( NOT "${LLVM_NATIVE_ARCH}" STREQUAL "ARM" ) ) +if(LLVM_ENABLE_EH AND (NOT WIN32) AND (NOT "${LLVM_NATIVE_ARCH}" STREQUAL "ARM")) add_subdirectory(ExceptionDemo) endif()