The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=13945 ====================================================================== Reported By: Lee McCuller Assigned To: ====================================================================== Project: CMake Issue ID: 13945 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2013-02-22 13:49 EST Last Modified: 2013-02-22 13:49 EST ====================================================================== Summary: unhelpful error (and build failure) when project name has space in it Description: when the project() command is given with a project name with a space in it, the error report complains of"
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. and refuses to build, not indicating that the project name is invalid. Steps to Reproduce: Run cmake on a directory with this CMakeLists.txt: " CMAKE_MINIMUM_REQUIRED(VERSION 2.8) PROJECT(proj separated) " and the output should be similar to: CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_separated_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_separated_COMPILER CMake Error: Could not find cmake module file:/home/mcculler/today/cmake/build/CMakeFiles/2.8.10.2/CMakeseparatedCompiler.cmake CMake Error: Could not find cmake module file:CMakeseparatedInformation.cmake CMake Error: CMAKE_separated_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-02-22 13:49 Lee McCuller New Issue ====================================================================== -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
