diff options
| author | hathach <[email protected]> | 2025-10-25 17:36:01 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-10-26 01:04:15 +0700 |
| commit | 42f000df8e52cfe0a46867a5e1fa5817cd58bc8a (patch) | |
| tree | 88e1c0a8b33dd136f96486a88aaebb98cdc84c9f /examples/build_system | |
| parent | d7c4bf14b464a509120ff18f94e9b02cd1c6f9fa (diff) | |
iar cstat require cmake at least 4.1
Diffstat (limited to 'examples/build_system')
| -rw-r--r-- | examples/build_system/cmake/toolchain/arm_iar.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/build_system/cmake/toolchain/arm_iar.cmake b/examples/build_system/cmake/toolchain/arm_iar.cmake index 42b057020..f4c0a500e 100644 --- a/examples/build_system/cmake/toolchain/arm_iar.cmake +++ b/examples/build_system/cmake/toolchain/arm_iar.cmake @@ -19,6 +19,7 @@ find_program(CMAKE_IAR_CHECKS ichecks) find_program(CMAKE_IAR_REPORT ireport) if (IAR_CSTAT) +cmake_minimum_required(VERSION 4.1) set(CMAKE_C_ICSTAT ${CMAKE_IAR_CSTAT} --checks=${CMAKE_CURRENT_LIST_DIR}/cstat_sel_checks.txt --db=${CMAKE_BINARY_DIR}/cstat.db --sarif_dir=${CMAKE_BINARY_DIR}/cstat_sarif) endif () |
