Build with C++20
This commit is contained in:
		
							parent
							
								
									d73acf4d0d
								
							
						
					
					
						commit
						32cf9e11b7
					
				
							
								
								
									
										3
									
								
								.github/workflows/cmake.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/cmake.yml
									
									
									
									
										vendored
									
									
								
							@ -59,6 +59,9 @@ jobs:
 | 
			
		||||
      # Use a bash shell so we can use the same syntax for environment variable
 | 
			
		||||
      # access regardless of the host operating system
 | 
			
		||||
      shell: bash
 | 
			
		||||
      env:
 | 
			
		||||
        CC: gcc-10
 | 
			
		||||
        CXX: g++-10
 | 
			
		||||
      working-directory: ${{github.workspace}}/build
 | 
			
		||||
      # Note the current convention is to use the -S and -B options here to specify source
 | 
			
		||||
      # and build directories, but this is only available with CMake 3.13 and higher.
 | 
			
		||||
 | 
			
		||||
@ -4,7 +4,7 @@ cmake_policy(SET CMP0076 NEW) # silence warning
 | 
			
		||||
 | 
			
		||||
project(AttorneyOnline)
 | 
			
		||||
 | 
			
		||||
set(CMAKE_CXX_STANDARD 17)
 | 
			
		||||
set(CMAKE_CXX_STANDARD 20)
 | 
			
		||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
 | 
			
		||||
 | 
			
		||||
set(CMAKE_AUTOMOC ON)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user