project_include.cmake 313 B

12345
  1. # Check toolchain is configured properly in cmake
  2. if(NOT ( ${CMAKE_SYSTEM_NAME} STREQUAL "Generic" AND ${CMAKE_C_COMPILER} MATCHES xtensa))
  3. message(FATAL_ERROR "Internal error, toolchain has not been set correctly by project "
  4. "(or an invalid CMakeCache.txt file has been generated somehow)")
  5. endif()