summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-08-12 15:14:02 (GMT)
committerBrad King <brad.king@kitware.com>2003-08-12 15:14:02 (GMT)
commitf686f1fec38d088cdb699fe0c009070e555a5c32 (patch)
treebc89e734c9335bbaa8e8cd464b5d7319b48c4f83 /Source/CTest
parent9ad2a2eb1411397f90a3b1e56ac00d4a50a607fc (diff)
downloadCMake-f686f1fec38d088cdb699fe0c009070e555a5c32.zip
CMake-f686f1fec38d088cdb699fe0c009070e555a5c32.tar.gz
CMake-f686f1fec38d088cdb699fe0c009070e555a5c32.tar.bz2
BUG: Need to force HAVE_LIBDL and HAVE_DLOPEN to 0 to support old cache files.
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/Curl/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/Curl/CMakeLists.txt b/Source/CTest/Curl/CMakeLists.txt
index 9190345..c468d60 100644
--- a/Source/CTest/Curl/CMakeLists.txt
+++ b/Source/CTest/Curl/CMakeLists.txt
@@ -98,6 +98,7 @@ ENDMACRO(CHECK_LIBRARY_EXISTS_CONCAT)
# We do not need this because we do not use ldap.
# CHECK_LIBRARY_EXISTS_CONCAT("dl" dlopen HAVE_LIBDL)
+SET(HAVE_LIBDL 0 CACHE INTERNAL "We do not need libdl.")
CHECK_LIBRARY_EXISTS_CONCAT("ucb" gethostname HAVE_LIBUCB)
CHECK_LIBRARY_EXISTS_CONCAT("socket" connect HAVE_LIBSOCKET)
@@ -119,6 +120,7 @@ ENDIF(CMAKE_USE_OPENSSL)
# Check for symbol dlopen (same as HAVE_LIBDL)
# We do not need this because we do not use ldap.
# CHECK_LIBRARY_EXISTS("${CURL_LIBS}" dlopen "" HAVE_DLOPEN)
+SET(HAVE_DLOPEN 0 CACHE INTERNAL "We do not need dlopen.")
# For other tests to use the same libraries
SET(CMAKE_REQUIRED_LIBRARIES ${CURL_LIBS})