From: Garrison Venn Date: Wed, 10 Feb 2010 02:50:08 +0000 (+0000) Subject: Prevented ExceptionDemo example being built on WINDOWS via if( NOT WIN32 ) X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=778086caf71596d61b70db168e9f4b6598049cf0 Prevented ExceptionDemo example being built on WINDOWS via if( NOT WIN32 ) check in examples cmake list file. This has NOT been tested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95761 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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)