mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-11-04 12:34:39 +08:00 
			
		
		
		
	Drop /std:c++latest from MSVC command line
CMake already sets it to version 17 in all cases
This commit is contained in:
		
							parent
							
								
									6e8e1a4110
								
							
						
					
					
						commit
						79de0f8fe8
					
				@ -124,7 +124,7 @@ else()
 | 
			
		||||
    # /EHsc - C++-only exception handling semantics
 | 
			
		||||
    # /Zc:throwingNew - let codegen assume `operator new` will never return null
 | 
			
		||||
    # /Zc:inline - let codegen omit inline functions in object files
 | 
			
		||||
    set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} /EHsc /std:c++latest /Zc:throwingNew,inline" CACHE STRING "" FORCE)
 | 
			
		||||
    set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} /EHsc /Zc:throwingNew,inline" CACHE STRING "" FORCE)
 | 
			
		||||
 | 
			
		||||
    # /MDd - Multi-threaded Debug Runtime DLL
 | 
			
		||||
    set(CMAKE_C_FLAGS_DEBUG   "/Od /MDd" CACHE STRING "" FORCE)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user