mirror of https://github.com/stenzek/duckstation
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			15 lines
		
	
	
		
			460 B
		
	
	
	
		
			CMake
		
	
			
		
		
	
	
			15 lines
		
	
	
		
			460 B
		
	
	
	
		
			CMake
		
	
# Source: https://github.com/stenzek/duckstation/issues/626#issuecomment-660718306
 | 
						|
 | 
						|
# Target system
 | 
						|
SET(CMAKE_SYSTEM_NAME Linux)
 | 
						|
SET(CMAKE_SYSTEM_PROCESSOR armv7l)
 | 
						|
SET(CMAKE_SYSTEM_VERSION 1)
 | 
						|
set(CMAKE_CROSSCOMPILING TRUE)
 | 
						|
 | 
						|
# Cross compiler
 | 
						|
SET(CMAKE_C_COMPILER   arm-linux-gnueabihf-gcc)
 | 
						|
SET(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++)
 | 
						|
set(CMAKE_LIBRARY_ARCHITECTURE arm-linux-gnueabihf)
 | 
						|
 | 
						|
set(THREADS_PTHREAD_ARG "0" CACHE STRING "Result from TRY_RUN" FORCE)
 |