diff options
| author | hathach <[email protected]> | 2023-08-14 20:58:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-08-14 20:58:00 +0700 |
| commit | 088180e3d86cc51472dcd06ae42c613b534bf71c (patch) | |
| tree | adb0efdb6ac7bd5b89fc1de4c4cc78b9bc045949 /examples | |
| parent | 78e5b2c6a4d58701dbb9c0ff69ba6cc02f5cc8e1 (diff) | |
add iar support for lpc43, add lpcxpresso43s67 to hil farm
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/host/msc_file_explorer/CMakeLists.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/host/msc_file_explorer/CMakeLists.txt b/examples/host/msc_file_explorer/CMakeLists.txt index a35a7f0fb..1868b632e 100644 --- a/examples/host/msc_file_explorer/CMakeLists.txt +++ b/examples/host/msc_file_explorer/CMakeLists.txt @@ -22,11 +22,13 @@ target_sources(${PROJECT} PUBLIC ) # Suppress warnings on fatfs -set_source_files_properties( - ${TOP}/lib/fatfs/source/ff.c - PROPERTIES - COMPILE_FLAGS "-Wno-conversion -Wno-cast-qual" -) +if (CMAKE_C_COMPILER_ID STREQUAL "GNU") + set_source_files_properties( + ${TOP}/lib/fatfs/source/ff.c + PROPERTIES + COMPILE_FLAGS "-Wno-conversion -Wno-cast-qual" + ) +endif () # Example include target_include_directories(${PROJECT} PUBLIC |
