Cmake в QtCreator не находит компилятор

Windows 10 x64. MSYS2 (MinGW). QtCreator.

Утилита cmake.exe поставлена штатными средствами MSYS2. QtCreator корректно распознал ее. Однако при создании любого проекта с системой сборки CMake в консоль вываливается ошибка:

-- The CXX compiler identification is GNU 10.2.0
CMake Error at D:/_code/untitled2/CMakeLists.txt:3 (project):
The CMAKE_CXX_COMPILER:

c:/msys64/mingw64/bin/g++.exe

is not a full path and was not found in the PATH.

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/c/Users/CU/AppData/Local/Temp/QtCreator-hwZqCO/qtc-cmake-fQbaZqJm/CMakeFiles/CMakeOutput.log".
Процесс CMake завершился с кодом 1.
Прошло времени: 00:01.

Что сбивает с толку, дык это корректное указание пути до компилятора: c:/msys64/mingw64/bin/g++.exe. Не могу сообразить куда копать.


Ответы (0 шт):