On 21. Jul, 2010, at 15:48 , Olaf van der Spek wrote:

> 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!
> 
> $

Well, it says what's wrong: CMake can't find the required files to enable the 
language T. Anyways, I'm not sure it's a good idea to use a project name with 
embedded spaces...

Michael

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to