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 | c824adb5935de01d591b12896f87fa160009f245 (patch) | |
tree | 6e250dbcb0694eca34a4775ed2ceb556b481dd81 /llvm/examples/CMakeLists.txt | |
parent | e9959a5f1acd9ad260234694fb8f793ba1ef0b2a (diff) | |
download | bcm5719-llvm-c824adb5935de01d591b12896f87fa160009f245.tar.gz bcm5719-llvm-c824adb5935de01d591b12896f87fa160009f245.zip |
Prevented ExceptionDemo example being built on WINDOWS via if( NOT WIN32 )
check in examples cmake list file. This has NOT been tested.
llvm-svn: 95761
Diffstat (limited to 'llvm/examples/CMakeLists.txt')
-rw-r--r-- | llvm/examples/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/examples/CMakeLists.txt b/llvm/examples/CMakeLists.txt index b54adeb9be1..f60c0eda030 100644 --- a/llvm/examples/CMakeLists.txt +++ b/llvm/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) |