Prevented ExceptionDemo example being built on WINDOWS via if( NOT WIN32 )
[oota-llvm.git] / examples / CMakeLists.txt
index b54adeb..f60c0ed 100644 (file)
@@ -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)