File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ set(LIBCLC_TARGET_TO_TEST)
85
85
foreach ( t ${LIBCLC_TEST_TARGETS_ALL} )
86
86
if ( ${t} IN_LIST LIBCLC_TARGETS_TO_BUILD )
87
87
list ( APPEND LIBCLC_TARGET_TO_TEST "${t} " )
88
- endif (t )
88
+ endif ( ${t} IN_LIST LIBCLC_TARGETS_TO_BUILD )
89
89
endforeach (t )
90
90
91
91
execute_process ( COMMAND ${LLVM_CONFIG} "--system-libs"
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