Fix return value problem

This commit is contained in:
Andy Cedilnik 2003-02-17 10:30:13 -05:00
parent 852ad56a6c
commit 9ca8035fc6
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ MACRO(CHECK_SYMBOL_EXISTS SYMBOL FILES VARIABLE)
"${CHECK_SYMBOL_EXISTS_CONTENT}${POUND}include <${FILE}>\n")
ENDFOREACH(FILE)
SET(CHECK_SYMBOL_EXISTS_CONTENT
"${CHECK_SYMBOL_EXISTS_CONTENT}\n\nvoid main${PARENTS}{"
"${CHECK_SYMBOL_EXISTS_CONTENT}\n\nint main${PARENTS}{"
"\n${POUND}ifndef ${SYMBOL}\nchar ${OPEN_PARENT}*f${CLOSE_PARENT} ${PARENTS} = ${SYMBOL};\n${POUND}endif\nreturn 0;\n}\n")
WRITE_FILE(${CMAKE_BINARY_DIR}/CMakeTmp/CheckSymbolExists.c
"${CHECK_SYMBOL_EXISTS_CONTENT}")