mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 22:22:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			5 lines
		
	
	
	
		
			222 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
	
		
			222 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| include(ProcessorCount)
 | |
| ProcessorCount(N)
 | |
| # Executing echo here allows us to print to the standard output,
 | |
| # to separate the processor count from potential errors
 | |
| execute_process(COMMAND "${CMAKE_COMMAND}" -E echo "${N}")
 | 
