mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			CMake: Fix ARM toolchain compilation
Ensure the MCU core CMake module is added before the toolchain CMake module as the latter requires CMAKE_SYSTEM_PROCESSOR to be set when configuring the ARM toolchain.pull/13566/head
							parent
							
								
									06f4e1bc8b
								
							
						
					
					
						commit
						100be3d14b
					
				| 
						 | 
				
			
			@ -14,8 +14,8 @@ endif()
 | 
			
		|||
add_library(mbed-os OBJECT)
 | 
			
		||||
 | 
			
		||||
include(${MBED_CONFIG_PATH}/mbed_config.cmake)
 | 
			
		||||
include(${MBED_ROOT}/cmake/toolchain.cmake)
 | 
			
		||||
include(${MBED_ROOT}/cmake/core.cmake)
 | 
			
		||||
include(${MBED_ROOT}/cmake/toolchain.cmake)
 | 
			
		||||
include(${MBED_ROOT}/cmake/profile.cmake)
 | 
			
		||||
include(${MBED_ROOT}/cmake/util.cmake)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue