The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15320 ====================================================================== Reported By: Stephen Kelly Assigned To: ====================================================================== Project: CMake Issue ID: 15320 Category: CMake Reproducibility: have not tried Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2014-12-19 16:07 CET Last Modified: 2014-12-19 16:07 CET ====================================================================== Summary: Xcode with space in path can not be used to run CMake Description:
CMake fails while trying to test the C compiler. Although cmGlobalGenerator::Build runs '/usr/bin/make', somehow it gets transformed into an improperly quoted "/Applications/Xcode 2.app/Contents/Developer/usr/bin/make", which then fails: Run Build Command:"/usr/bin/make" "cmTryCompileExec4267961401/fast" /Applications/Xcode 2.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec4267961401.dir/build.make CMakeFiles/cmTryCompileExec4267961401.dir/build make: /Applications/Xcode: No such file or directory make: *** [cmTryCompileExec4267961401/fast] Error 1 I don't know how the command to execute is transformed. It is still '/usr/bin/make' when passed to cmsysProcess_SetCommand in cmSystemTools::RunSingleCommand. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-12-19 16:07 Stephen Kelly New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers