Browse Source

cmake_force_c_compiler deprecation was pushed to cmake 3.6

master
James Crosby 6 years ago
parent
commit
821150b72f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      CMake/toolchain.cmake

+ 1
- 1
CMake/toolchain.cmake View File

@ -74,7 +74,7 @@ if((NOT DEFINED YOTTA_CFG_GCC_PRINTF_FLOAT) OR (YOTTA_CFG_GCC_PRINTF_FLOAT))
endif()
# Set the compiler to ARM-GCC
if(CMAKE_VERSION VERSION_LESS "3.5.0")
if(CMAKE_VERSION VERSION_LESS "3.6.0")
include(CMakeForceCompiler)
cmake_force_c_compiler("${ARM_NONE_EABI_GCC}" GNU)
cmake_force_cxx_compiler("${ARM_NONE_EABI_GPP}" GNU)


Loading…
Cancel
Save