[Cmake-commits] [cmake-commits] hoffman committed CMakeLists.txt 1.21 1.22
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Nov 26 16:19:29 EST 2008
Update of /cvsroot/CMake/CMake/Utilities/cmcurl
In directory public:/mounts/ram/cvs-serv7897
Modified Files:
CMakeLists.txt
Log Message:
ENH: fix warning on HPUX
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmcurl/CMakeLists.txt,v
retrieving revision 1.21
retrieving revision 1.22
diff -C 2 -d -r1.21 -r1.22
*** CMakeLists.txt 15 Sep 2008 21:53:28 -0000 1.21
--- CMakeLists.txt 26 Nov 2008 21:19:27 -0000 1.22
***************
*** 154,158 ****
# Check for all needed libraries
! CHECK_LIBRARY_EXISTS_CONCAT("dl" dlopen HAVE_LIBDL)
#CHECK_LIBRARY_EXISTS_CONCAT("ucb" gethostname HAVE_LIBUCB)
CHECK_LIBRARY_EXISTS_CONCAT("socket" connect HAVE_LIBSOCKET)
--- 154,161 ----
# Check for all needed libraries
! # use the cmake defined dl libs as dl is should not be used
! # on HPUX, but rather dld this avoids a warning
! SET(CURL_LIBS ${CURL_LIBS} ${CMAKE_DL_LIBS})
! #CHECK_LIBRARY_EXISTS_CONCAT("dl" dlopen HAVE_LIBDL)
#CHECK_LIBRARY_EXISTS_CONCAT("ucb" gethostname HAVE_LIBUCB)
CHECK_LIBRARY_EXISTS_CONCAT("socket" connect HAVE_LIBSOCKET)
More information about the Cmake-commits
mailing list