cmake_force_c_compiler deprecation was pushed to cmake 3.6

This commit is contained in:
James Crosby 2016-04-06 13:01:58 +01:00
parent 43f8d880cb
commit 821150b72f
1 changed files with 1 additions and 1 deletions

View File

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