summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/CMake
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-01-17 21:22:09 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-01-17 21:22:09 (GMT)
commit46422c13b80dff07be1eda13552b44ccda0d493e (patch)
treeffecc5adc445b24e3a8ab14e4510c9ff4d469220 /Utilities/cmcurl/CMake
parentac58fb88b9628f17dafc7788c0b35cfe7da6da4f (diff)
downloadCMake-46422c13b80dff07be1eda13552b44ccda0d493e.zip
CMake-46422c13b80dff07be1eda13552b44ccda0d493e.tar.gz
CMake-46422c13b80dff07be1eda13552b44ccda0d493e.tar.bz2
BUG: revert such that it should work
Diffstat (limited to 'Utilities/cmcurl/CMake')
-rw-r--r--Utilities/cmcurl/CMake/CheckTypeSize.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmcurl/CMake/CheckTypeSize.cmake b/Utilities/cmcurl/CMake/CheckTypeSize.cmake
index be76154..700a54d 100644
--- a/Utilities/cmcurl/CMake/CheckTypeSize.cmake
+++ b/Utilities/cmcurl/CMake/CheckTypeSize.cmake
@@ -18,11 +18,11 @@ MACRO(CHECK_TYPE_SIZE TYPE VARIABLE)
"${MACRO_CHECK_TYPE_SIZE_FLAGS} -D${def}")
ENDIF("${def}")
ENDFOREACH(def)
- SET(CHECK_TYPE_SIZE_PREINCLUDE)
+ SET(CHECK_TYPE_SIZE_PREMAIN)
FOREACH(def ${CMAKE_EXTRA_INCLUDE_FILES})
SET(CHECK_TYPE_SIZE_PREMAIN "${CHECK_TYPE_SIZE_PREMAIN}#include \"${def}\"\n")
ENDFOREACH(def)
- CONFIGURE_FILE("${CMAKE_ROOT}/Modules/CheckTypeSize.c.in"
+ CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/CMake/CheckTypeSize.c.in"
"${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckTypeSize.c" IMMEDIATE @ONLY)
FILE(READ "${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckTypeSize.c"
CHECK_TYPE_SIZE_FILE_CONTENT)