Revert "Fix build on MSVC 16.6.0."
This reverts commit e4f4dad321.
MSVC 16.6.* has a critical bug if Qt is compiled with it. See:
https://developercommunity.visualstudio.com/content/problem/1072443/
static-structs-with-atomics-initialization-regress.html
			
			
This commit is contained in:
		
							parent
							
								
									b558136e64
								
							
						
					
					
						commit
						eb97b772a3
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								external/ranges/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								external/ranges/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							|  | @ -19,8 +19,8 @@ else() | ||||||
|     if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") |     if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") | ||||||
|         target_compile_options(external_ranges |         target_compile_options(external_ranges | ||||||
|         INTERFACE |         INTERFACE | ||||||
|             /Zc:preprocessor # need for range-v3 see https://github.com/ericniebler/range-v3#supported-compilers |             /experimental:preprocessor # need for range-v3 see https://github.com/ericniebler/range-v3#supported-compilers | ||||||
|             /wd5105 # needed for `/Zc:preprocessor`, suppressing C5105 "macro expansion producing 'defined' has undefined behavior" |             /wd5105 # needed for `/experimental:preprocessor`, suppressing C5105 "macro expansion producing 'defined' has undefined behavior" | ||||||
|         ) |         ) | ||||||
|     endif() |     endif() | ||||||
| endif() | endif() | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 John Preston
						John Preston