Browse Source

Fix cmake typo

Roland Dobai 6 years ago
parent
commit
56fcafc346
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/cmake/targets.cmake

+ 2 - 2
tools/cmake/targets.cmake

@@ -37,7 +37,7 @@ function(__target_check)
     idf_build_get_property(idf_target IDF_TARGET)
     if(NOT ${idf_target} STREQUAL ${CONFIG_IDF_TARGET})
         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.")
     endif()
 endfunction()
@@ -66,4 +66,4 @@ macro(__target_set_toolchain)
                     "checked ${toolchain_file_global} and ${toolchain_file_component}")
         endif()
     endif()
-endmacro()
+endmacro()