Hi all, When using SEND_ERROR and FATAL_ERROR, extra blank lines are added between newline-separated strings. I don't really like this. Is it intentional, or is this a formatting bug?
For example, the CMakeLists.txt file: cmake_minimum_required(VERSION 2.6) project(Dummy NONE) message(STATUS "Line one\nLine two\nLine three") message(SEND_ERROR "Line one\nLine two\nLine three") message(FATAL_ERROR "Line one\nLine two\nLine three") produces the following output on console: -- Line one Line two Line three CMake Error at CMakeLists.txt:4 (message): Line one Line two Line three CMake Error at CMakeLists.txt:5 (message): Line one Line two Line three -- Configuring incomplete, errors occurred! As can be seen, SEND_ERROR and FATAL_ERROR add extra blank lines. Best regards, Marcel Loose. _______________________________________________ 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