Fix cmake typo

This commit is contained in:
Roland Dobai 2019-10-04 12:25:51 +02:00 committed by Roland Dobai
parent 4f193dfa71
commit 783ef22dd3

View file

@ -37,7 +37,7 @@ function(__target_check)
idf_build_get_property(idf_target IDF_TARGET) idf_build_get_property(idf_target IDF_TARGET)
if(NOT ${idf_target} STREQUAL ${CONFIG_IDF_TARGET}) if(NOT ${idf_target} STREQUAL ${CONFIG_IDF_TARGET})
message(FATAL_ERROR "CONFIG_IDF_TARGET in sdkconfig does not match " message(FATAL_ERROR "CONFIG_IDF_TARGET in sdkconfig does not match "
"IDF_TARGET environement variable. To change the target, delete " "IDF_TARGET environment variable. To change the target, delete "
"sdkconfig file and build the project again.") "sdkconfig file and build the project again.")
endif() endif()
endfunction() endfunction()
@ -66,4 +66,4 @@ macro(__target_set_toolchain)
"checked ${toolchain_file_global} and ${toolchain_file_component}") "checked ${toolchain_file_global} and ${toolchain_file_component}")
endif() endif()
endif() endif()
endmacro() endmacro()