Added newline ad the end of generated hugehelp.c (the "default" one, when it hasn...
authorBenoit Neil <suky0001@free.fr>
Wed, 8 Apr 2009 20:29:50 +0000 (20:29 +0000)
committerBenoit Neil <suky0001@free.fr>
Wed, 8 Apr 2009 20:29:50 +0000 (20:29 +0000)
src/CMakeLists.txt

index 8688e56..e636eb1 100644 (file)
@@ -5,7 +5,7 @@ SET(EXE_NAME curl)
 FIND_FILE(HUGEHELP_C_FILE hugehelp.c PATHS . NO_DEFAULT_PATH)
 IF (NOT HUGEHELP_C_FILE)
        MESSAGE(STATUS "Warning: hugehelp.c file was not generated before. Generating an 'empty' file...")
-       FILE(WRITE hugehelp.c "/* built-in manual is disabled, blank function */\n#include \"hugehelp.h\"\nvoid hugehelp(void) {}")
+       FILE(WRITE hugehelp.c "/* built-in manual is disabled, blank function */\n#include \"hugehelp.h\"\nvoid hugehelp(void) {}\n\n")
 ENDIF()
 
 TRANSFORM_MAKEFILE_INC("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")