Found a workaround:
$ find /tmp/cmake-2.8.12.1 -type f | xargs dos2unix

This must be a bug, should I file a report?
--
Szilárd


On Fri, Jan 10, 2014 at 1:21 PM, Szilárd Páll <[email protected]> wrote:
> Hi,
>
> I'm trying to compile 2.8.12.1, but I keep bumping into an error:
> [...]
> /tmp/cmake-2.8.12.1/Bootstrap.cmk/cmConfigure.h:27:24: warning:
> missing terminating " character [enabled by default]
> "8define CMAKE_DATA_DIR "/share/cmake-2
> [...]
>
> This seems to be caused by a rather messed up-looking cmConfigure.h:
> [...]
> /* #undef CMAKE_NO_ANSI_STRING_STREAM */
> /* #undef CMAKE_NO_ANSI_FOR_SCOPE */
> #define CMAKE_ROOT_DIR "/home/pszilard/tmp/cmake-2.8.12.1"
> #define CMAKE_DATA_DIR "/share/cmake-2^M.8^M"
> #define CMAKE_BOOTSTRAP
>
> Note that I've manually added the "^M" control characters which would
> show up as newlines when pasted into the mail client.
>
> I've tried running on both an Ubuntu 10.04 and 12.04 machine with
> different compiler versions, but of course, no compiler swallowed this
> broken include file.
>
> Any ideas what's going on?
>
> Cheers,
> --
> Szilárd
--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to