Inside the CLion's CMake options,
Add this option to the CMake options::
-DCMAKE_TOOLCHAIN_FILE=./cmake/gcc-arm-none-eabi.cmake
Inside the CLion's CMake options,
Add this option to the CMake options::
-DCMAKE_TOOLCHAIN_FILE=./cmake/gcc-arm-none-eabi.cmake