[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.26 1.27
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Dec 15 14:20:31 EST 2009
Update of /cvsroot/CMake/CMake/Utilities/cmcurl
In directory public:/mounts/ram/cvs-serv1250/Utilities/cmcurl
Modified Files:
CMakeLists.txt
Log Message:
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.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmcurl/CMakeLists.txt,v
retrieving revision 1.26
retrieving revision 1.27
diff -C 2 -d -r1.26 -r1.27
*** CMakeLists.txt 8 Dec 2009 16:27:37 -0000 1.26
--- CMakeLists.txt 15 Dec 2009 19:20:28 -0000 1.27
***************
*** 37,47 ****
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)
SET(libCurl_SRCS
--- 37,41 ----
INCLUDE (CheckLibraryExists)
INCLUDE (CheckSymbolExists)
! INCLUDE (CheckTypeSize)
SET(libCurl_SRCS
More information about the Cmake-commits
mailing list