cmake CMAKE_C_COMPILER “is not a full path to an existing compiler tool”
在Qt Creater下CMake之后显示缺少CMAKE_C_COMPILER项,
可添加:
CMAKE_CXX_COMPILER /usr/bin/c++
CMAKE_C_COMPILER /usr/bin/cc
在CMakelists中添加这句话,设置为Debug模式
SET (CMAKE_BUILD_TYPE Debug CACHE INTERNAL “” FORCE)