Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: Guard CMAKE_BUILD_TYPE when integrating with Zephyr
Zephyr controls compile and linker flags, such as optimization using Kconfig and not CMAKE_BUILD_TYPE. Therefore disable the setting of CMAKE_BUILD_TYPE when Zephyr is used to avoid situations like `-Os -O2` when compiling Zephyr with Picolibc. Signed-off-by: Torsten Rasmussen <[email protected]>
- Loading branch information