Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit f3ba4d1

Browse files
committed
[cmake] Allow EH usage with clang-cl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264880 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 34be7e6 commit f3ba4d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/modules/AddLLVM.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ function(llvm_update_compile_flags name)
88
set(update_src_props ON)
99
endif()
1010

11-
# LLVM_REQUIRES_EH is an internal flag that individual
12-
# targets can use to force EH
13-
if((LLVM_REQUIRES_EH OR LLVM_ENABLE_EH) AND NOT CLANG_CL)
11+
# LLVM_REQUIRES_EH is an internal flag that individual targets can use to
12+
# force EH
13+
if(LLVM_REQUIRES_EH OR LLVM_ENABLE_EH)
1414
if(NOT (LLVM_REQUIRES_RTTI OR LLVM_ENABLE_RTTI))
1515
message(AUTHOR_WARNING "Exception handling requires RTTI. Enabling RTTI for ${name}")
1616
set(LLVM_REQUIRES_RTTI ON)

0 commit comments

Comments
 (0)