summaryrefslogtreecommitdiff
path: root/Modules/CMakeTestCCompiler.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-17 14:55:45 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-17 14:55:45 -0400
commitd6ebc123f76c0d5856967dd2bf809bef2c4f4fa9 (patch)
treef3a0b3569986c58c790fe1fda79943597b2d4564 /Modules/CMakeTestCCompiler.cmake
parent79c298e12c3f2c5a50d599123bf711c6e72248a0 (diff)
downloadcmake-d6ebc123f76c0d5856967dd2bf809bef2c4f4fa9.tar.gz
ENH: Extra new line after output
Diffstat (limited to 'Modules/CMakeTestCCompiler.cmake')
-rw-r--r--Modules/CMakeTestCCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeTestCCompiler.cmake b/Modules/CMakeTestCCompiler.cmake
index b9f3924919..4c52b2c2a1 100644
--- a/Modules/CMakeTestCCompiler.cmake
+++ b/Modules/CMakeTestCCompiler.cmake
@@ -5,7 +5,7 @@
# any makefiles or projects.
IF(NOT CMAKE_C_COMPILER_WORKS)
MESSAGE(STATUS "Check for working C compiler: ${CMAKE_C_COMPILER}")
- FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeTmp/testCCompiler.c "int main(){return 0;}")
+ FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeTmp/testCCompiler.c "int main(){return 0;}\n")
TRY_COMPILE(CMAKE_C_COMPILER_WORKS ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/CMakeTmp/testCCompiler.c
OUTPUT_VARIABLE OUTPUT)