cmake_force_c_compiler deprecation was pushed to cmake 3.6
This commit is contained in:
parent
43f8d880cb
commit
821150b72f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue