diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-17 18:55:45 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-17 18:55:45 (GMT) |
commit | d6ebc123f76c0d5856967dd2bf809bef2c4f4fa9 (patch) | |
tree | f3a0b3569986c58c790fe1fda79943597b2d4564 /Modules/CMakeTestCCompiler.cmake | |
parent | 79c298e12c3f2c5a50d599123bf711c6e72248a0 (diff) | |
download | CMake-d6ebc123f76c0d5856967dd2bf809bef2c4f4fa9.zip CMake-d6ebc123f76c0d5856967dd2bf809bef2c4f4fa9.tar.gz CMake-d6ebc123f76c0d5856967dd2bf809bef2c4f4fa9.tar.bz2 |
ENH: Extra new line after output
Diffstat (limited to 'Modules/CMakeTestCCompiler.cmake')
-rw-r--r-- | Modules/CMakeTestCCompiler.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeTestCCompiler.cmake b/Modules/CMakeTestCCompiler.cmake index b9f3924..4c52b2c 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) |