diff --git a/examples/ExceptionDemo/CMakeLists.txt b/examples/ExceptionDemo/CMakeLists.txt index 88c9ab7c181..432e683a13f 100644 --- a/examples/ExceptionDemo/CMakeLists.txt +++ b/examples/ExceptionDemo/CMakeLists.txt @@ -4,3 +4,5 @@ set(LLVM_REQUIRES_EH 1) add_llvm_example(ExceptionDemo ExceptionDemo.cpp ) + +set_target_properties(ExceptionDemo PROPERTIES ENABLE_EXPORTS 1)