Compiler/IAR: Avoid clobbering CMAKE_EXECUTABLE_SUFFIX
When cross-compiling, usage of CMAKE_EXECUTABLE_SUFFIX
confuses other modules such as find_package(ImageMagick COMPONENTS magick)
, which
fails in finding magick
because of wrong suffix. CMAKE_EXECUTABLE_SUFFIX_<LANG>
is the correct override for this purpose.
Fixes: #22426 (closed)
Backport: release
Topic-rename: iar-exe-suffix
Edited by Brad King