summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-17 01:33:51 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-17 01:33:51 (GMT)
commit4a2d04f42adc74c34cce19d2e24face723d9a469 (patch)
treefe47b66c3c19064fcfbad66034ddbb7c962faf96 /Modules
parente727d34b48c3df93a81af9c2692624bfa1c806d4 (diff)
downloadCMake-4a2d04f42adc74c34cce19d2e24face723d9a469.zip
CMake-4a2d04f42adc74c34cce19d2e24face723d9a469.tar.gz
CMake-4a2d04f42adc74c34cce19d2e24face723d9a469.tar.bz2
Prevent CMake from putting ; in the file
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CheckSymbolExists.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/CheckSymbolExists.cmake b/Modules/CheckSymbolExists.cmake
index 67074d1..f3fb60c 100644
--- a/Modules/CheckSymbolExists.cmake
+++ b/Modules/CheckSymbolExists.cmake
@@ -20,8 +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\nint main${PARENTS}{"
- "\n${POUND}ifndef ${SYMBOL}\nchar ${OPEN_PARENT}*f${CLOSE_PARENT} ${PARENTS} = ${SYMBOL};\n${POUND}endif\nreturn 0;\n}\n")
+ "${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}")