File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ include(FetchContent)
4
4
5
5
# Suppress warnings related to dependencies
6
6
if (MSVC )
7
- add_definitions (
8
- -wd4133 # Suppress ''function': incompatible types - from 'char [9]' to 'LPCWSTR''
9
- -wd4152 # Suppress 'nonstandard extension, function/data pointer conversion in expression'
10
- -wd4201 # Suppress 'nonstandard extension used: nameless struct/union'
11
- )
7
+ add_definitions (
8
+ -wd4133 # Suppress ''function': incompatible types - from 'char [9]' to 'LPCWSTR''
9
+ -wd4152 # Suppress 'nonstandard extension, function/data pointer conversion in expression'
10
+ -wd4201 # Suppress 'nonstandard extension used: nameless struct/union'
11
+ )
12
12
endif ()
13
13
14
14
# Repo URLs
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ if(MSVC)
49
49
# Skip asynchronous C++ exceptions catching and assume "extern C" functions
50
50
# never throw C++ exceptions.
51
51
set (LLVM_REQUIRES_EH ON )
52
+ set (LLVM_REQUIRES_RTTI ON )
52
53
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc" )
53
54
54
55
# Add PDB debug information
You can’t perform that action at this time.
0 commit comments