diff options
author | Garrison Venn <gvenn.cfe.dev@gmail.com> | 2010-02-10 02:50:08 +0000 |
---|---|---|
committer | Garrison Venn <gvenn.cfe.dev@gmail.com> | 2010-02-10 02:50:08 +0000 |
commit | 778086caf71596d61b70db168e9f4b6598049cf0 (patch) | |
tree | a7dc1213e63ab35cae205fec588de457638afc2b | |
parent | 2db6ff2285bbfacf675739f46008581517abe8bf (diff) |
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
-rw-r--r-- | examples/CMakeLists.txt | 5 |
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) |