diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/LLVMProcessSources.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/LLVMProcessSources.cmake b/cmake/modules/LLVMProcessSources.cmake index a71c6f2af8..e8a5a9431a 100644 --- a/cmake/modules/LLVMProcessSources.cmake +++ b/cmake/modules/LLVMProcessSources.cmake @@ -46,6 +46,8 @@ function(llvm_process_sources OUT_VAR) if( NOT LLVM_REQUIRES_RTTI ) if( CMAKE_COMPILER_IS_GNUCXX ) add_definitions( -fno-rtti ) + elseif( MSVC ) + add_definitions( /GR- ) endif() endif() |