Added newline ad the end of generated hugehelp.c (the "default" one, when it hasn't been generated before).

This commit is contained in:
Benoit Neil 2009-04-08 20:29:50 +00:00
parent 59997ecad5
commit 55d0c29f4a
1 changed files with 1 additions and 1 deletions

View 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")