mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
6 lines
225 B
CMake
6 lines
225 B
CMake
# avoid esp-clang "unused-command-line-argument" warning
|
|
if(NOT (CMAKE_C_COMPILER_ID MATCHES "Clang") )
|
|
set(compile_options "-nostartfiles")
|
|
idf_build_set_property(COMPILE_OPTIONS "${compile_options}" APPEND)
|
|
endif()
|