diff options
author | Brad King <brad.king@kitware.com> | 2003-08-11 21:35:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-08-11 21:35:41 (GMT) |
commit | ffd7c4d2a50b87a551b19f40e556fc585fd220df (patch) | |
tree | f367ace263e7e9fa24c3102b7aa736783a7d89ff /Source/CTest | |
parent | 6c9ba639f46d601704354a5df6f7d87c307648ee (diff) | |
download | CMake-ffd7c4d2a50b87a551b19f40e556fc585fd220df.zip CMake-ffd7c4d2a50b87a551b19f40e556fc585fd220df.tar.gz CMake-ffd7c4d2a50b87a551b19f40e556fc585fd220df.tar.bz2 |
ENH: Removing dependence on dl library since we don't actually use ldap.
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/Curl/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/CTest/Curl/CMakeLists.txt b/Source/CTest/Curl/CMakeLists.txt index ef3911a..9190345 100644 --- a/Source/CTest/Curl/CMakeLists.txt +++ b/Source/CTest/Curl/CMakeLists.txt @@ -95,7 +95,10 @@ MACRO(CHECK_LIBRARY_EXISTS_CONCAT LIBRARY SYMBOL VARIABLE) ENDMACRO(CHECK_LIBRARY_EXISTS_CONCAT) # Check for all needed libraries -CHECK_LIBRARY_EXISTS_CONCAT("dl" dlopen HAVE_LIBDL) + +# We do not need this because we do not use ldap. +# CHECK_LIBRARY_EXISTS_CONCAT("dl" dlopen HAVE_LIBDL) + CHECK_LIBRARY_EXISTS_CONCAT("ucb" gethostname HAVE_LIBUCB) CHECK_LIBRARY_EXISTS_CONCAT("socket" connect HAVE_LIBSOCKET) CHECK_LIBRARY_EXISTS("c" gethostbyname "" NOT_NEED_LIBNSL) @@ -114,7 +117,8 @@ IF(CMAKE_USE_OPENSSL) ENDIF(CMAKE_USE_OPENSSL) # Check for symbol dlopen (same as HAVE_LIBDL) -CHECK_LIBRARY_EXISTS("${CURL_LIBS}" dlopen "" HAVE_DLOPEN) +# We do not need this because we do not use ldap. +# CHECK_LIBRARY_EXISTS("${CURL_LIBS}" dlopen "" HAVE_DLOPEN) # For other tests to use the same libraries SET(CMAKE_REQUIRED_LIBRARIES ${CURL_LIBS}) |