From d6ebc123f76c0d5856967dd2bf809bef2c4f4fa9 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 17 Jul 2003 14:55:45 -0400 Subject: ENH: Extra new line after output --- Modules/CMakeTestCXXCompiler.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/CMakeTestCXXCompiler.cmake') diff --git a/Modules/CMakeTestCXXCompiler.cmake b/Modules/CMakeTestCXXCompiler.cmake index 26ccbc53d0..e6a28982ab 100644 --- a/Modules/CMakeTestCXXCompiler.cmake +++ b/Modules/CMakeTestCXXCompiler.cmake @@ -5,7 +5,7 @@ # any makefiles or projects. IF(NOT CMAKE_CXX_COMPILER_WORKS) MESSAGE(STATUS "Check for working CXX compiler: ${CMAKE_CXX_COMPILER}") - FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeTmp/testCXXCompiler.cxx "int main(){return 0;}") + FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeTmp/testCXXCompiler.cxx "int main(){return 0;}\n") TRY_COMPILE(CMAKE_CXX_COMPILER_WORKS ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/CMakeTmp/testCXXCompiler.cxx OUTPUT_VARIABLE OUTPUT) -- cgit v1.2.1