summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGarrison Venn <gvenn.cfe.dev@gmail.com>2010-02-10 02:50:08 +0000
committerGarrison Venn <gvenn.cfe.dev@gmail.com>2010-02-10 02:50:08 +0000
commit778086caf71596d61b70db168e9f4b6598049cf0 (patch)
treea7dc1213e63ab35cae205fec588de457638afc2b /examples
parent2db6ff2285bbfacf675739f46008581517abe8bf (diff)
downloadllvm-778086caf71596d61b70db168e9f4b6598049cf0.tar.gz
llvm-778086caf71596d61b70db168e9f4b6598049cf0.tar.bz2
llvm-778086caf71596d61b70db168e9f4b6598049cf0.tar.xz
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
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index b54adeb9be..f60c0eda03 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)