llvm.org GIT mirror llvm / f3ba4d1
[cmake] Allow EH usage with clang-cl git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264880 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Kleckner 4 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
77 set(update_src_props ON)
88 endif()
99
10 # LLVM_REQUIRES_EH is an internal flag that individual
11 # targets can use to force EH
12 if((LLVM_REQUIRES_EH OR LLVM_ENABLE_EH) AND NOT CLANG_CL)
10 # LLVM_REQUIRES_EH is an internal flag that individual targets can use to
11 # force EH
12 if(LLVM_REQUIRES_EH OR LLVM_ENABLE_EH)
1313 if(NOT (LLVM_REQUIRES_RTTI OR LLVM_ENABLE_RTTI))
1414 message(AUTHOR_WARNING "Exception handling requires RTTI. Enabling RTTI for ${name}")
1515 set(LLVM_REQUIRES_RTTI ON)