mirror of
				https://github.com/MaskRay/ccls.git
				synced 2025-11-03 22:04:24 +00:00 
			
		
		
		
	enable gcc extensions (needed for cygwin support)
This commit is contained in:
		
							parent
							
								
									410fb69e25
								
							
						
					
					
						commit
						5f8418cd9b
					
				@ -27,8 +27,6 @@ add_executable(cquery "")
 | 
				
			|||||||
# Enable C++14 (Required)
 | 
					# Enable C++14 (Required)
 | 
				
			||||||
set_property(TARGET cquery PROPERTY CXX_STANDARD 14)
 | 
					set_property(TARGET cquery PROPERTY CXX_STANDARD 14)
 | 
				
			||||||
set_property(TARGET cquery PROPERTY CXX_STANDARD_REQUIRED ON)
 | 
					set_property(TARGET cquery PROPERTY CXX_STANDARD_REQUIRED ON)
 | 
				
			||||||
# Disable gcc extensions
 | 
					 | 
				
			||||||
set_property(TARGET cquery PROPERTY CXX_EXTENSIONS OFF)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL Windows)
 | 
					if(${CMAKE_SYSTEM_NAME} STREQUAL Windows)
 | 
				
			||||||
  # Common MSVC/Clang(Windows) options
 | 
					  # Common MSVC/Clang(Windows) options
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user