esp-idf/components/esp_common/project_include.cmake

9 lines
250 B
CMake

#
# Warn if the toolchain version doesn't match
#
if(NOT ${target} STREQUAL "linux")
get_expected_ctng_version(expected_toolchain expected_gcc)
gcc_version_check("${expected_gcc}")
crosstool_version_check("${expected_toolchain}")
endif()