mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-29 06:27:44 +00:00 
			
		
		
		
	Fix python detection when cross-compiling
This commit is contained in:
		| @@ -49,7 +49,7 @@ endmacro() | ||||
| # or finds the interpreter via the built-in cmake module. | ||||
| ######################################################################## | ||||
|  | ||||
| if(CMAKE_VERSION VERSION_LESS 3.12) | ||||
| if(CMAKE_VERSION VERSION_LESS 3.12 OR CMAKE_CROSSCOMPILING) | ||||
|     if(PYTHON_EXECUTABLE) | ||||
|         message(STATUS "User set python executable ${PYTHON_EXECUTABLE}") | ||||
|         string(FIND "${PYTHON_EXECUTABLE}" "python3" IS_PYTHON3) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez