summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-12-15 19:20:28 (GMT)
committerBrad King <brad.king@kitware.com>2009-12-15 19:20:28 (GMT)
commit93407682fe0092e8fc24e83f6be8f2706c9d31ae (patch)
tree131d2db88b6addc84bec2606b01825f97abba79b /Utilities/cmcurl/CMakeLists.txt
parent357096d35a5ee417aa1f77fdfdace083fec3635e (diff)
downloadCMake-93407682fe0092e8fc24e83f6be8f2706c9d31ae.zip
CMake-93407682fe0092e8fc24e83f6be8f2706c9d31ae.tar.gz
CMake-93407682fe0092e8fc24e83f6be8f2706c9d31ae.tar.bz2
cmcurl: Drop custom CHECK_TYPE_SIZE macro
We now require a version of CMake that provides CHECK_TYPE_SIZE, so we do not need a custom one for curl.
Diffstat (limited to 'Utilities/cmcurl/CMakeLists.txt')
-rw-r--r--Utilities/cmcurl/CMakeLists.txt8
1 files changed, 1 insertions, 7 deletions
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
index eef258f..63cdc27 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/Utilities/cmcurl/CMakeLists.txt
@@ -36,13 +36,7 @@ INCLUDE (CheckIncludeFile)
INCLUDE (CheckIncludeFiles)
INCLUDE (CheckLibraryExists)
INCLUDE (CheckSymbolExists)
-# if crosscompiling is on, the CHECK_TYPE_SIZE macro coming with cmake uses
-# TRY_COMPILE instead of TRY_RUN which makes crosscompiling easier, Alex
-IF(CMAKE_CROSSCOMPILING)
- INCLUDE ("${CMAKE_ROOT}/Modules/CheckTypeSize.cmake")
-ELSE(CMAKE_CROSSCOMPILING)
- INCLUDE (CheckTypeSize)
-ENDIF(CMAKE_CROSSCOMPILING)
+INCLUDE (CheckTypeSize)
SET(libCurl_SRCS
# amigaos.c - does not build on AmigaOS