iarsystems / cmake-tutorial

Build and test embedded software using the IAR C/C++ Compiler alongside CMake
https://iar.com
MIT License
78 stars 15 forks source link

Fix: set CMake for cross-compiling #21

Closed felipe-iar closed 1 year ago

felipe-iar commented 1 year ago

We set CMAKE_SYSTEM_NAME to Generic in order to prevent CMake from overwriting it with the host's system name (e.g., amd64) when cross-compiling with the IAR compiler.

This commit reverts changes performed on 16bed53 during cleanup.

Fix #20.