ubuntu cmake…中出现的问题
在写一个helloworld的小工程,然后cmakelists如下
cmake_minimum_required( VERSION 2.8)
project (hello world)
add_executable(helloworld main.cpp)
执行cmake…
结果出现报错
CMake Error: Could not find cmake module file: CMakeDetermineworldCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_world_COMPILER_ENV_VAR
CMake Error