[CMake] Bug? project(X T) returns weird error

Olaf van der Spek olafvdspek at gmail.com
Wed Jul 21 09:48:43 EDT 2010


Hi,

I forgot to use quotes, but cmake doesn't make that obvious.
Shouldn't it return a better error message?

$ cat CMakeLists.txt
project(X T)

$ cmake .
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_T_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may
be not be built correctly.
Missing variable is:
CMAKE_T_COMPILER
CMake Error: Could not find cmake module
file:/home/olaf/xbt/Tracker/CMakeFiles/CMakeTCompiler.cmake
CMake Error: Could not find cmake module file:CMakeTInformation.cmake
CMake Error: CMAKE_T_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

$


More information about the CMake mailing list