Use /W3 for mvsc
This commit is contained in:
		@@ -31,7 +31,7 @@ function(spdlog_enable_warnings target_name)
 | 
				
			|||||||
    target_compile_options(${target_name} PRIVATE
 | 
					    target_compile_options(${target_name} PRIVATE
 | 
				
			||||||
        $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>,$<CXX_COMPILER_ID:GNU>>:
 | 
					        $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>,$<CXX_COMPILER_ID:GNU>>:
 | 
				
			||||||
            -Wall -Wextra -Wconversion -pedantic -Wfatal-errors>
 | 
					            -Wall -Wextra -Wconversion -pedantic -Wfatal-errors>
 | 
				
			||||||
        $<$<CXX_COMPILER_ID:MSVC>:/W4>)
 | 
					        $<$<CXX_COMPILER_ID:MSVC>:/W3>)
 | 
				
			||||||
		if(MSVC_VERSION GREATER  1900)  #Allow non fatal security wanrnings for msvc 2015
 | 
							if(MSVC_VERSION GREATER  1900)  #Allow non fatal security wanrnings for msvc 2015
 | 
				
			||||||
			target_compile_options(${target_name} PRIVATE /WX)
 | 
								target_compile_options(${target_name} PRIVATE /WX)
 | 
				
			||||||
		endif()
 | 
							endif()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user