mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
BUG: Need to force HAVE_LIBDL and HAVE_DLOPEN to 0 to support old cache files.
This commit is contained in:
parent
9ad2a2eb14
commit
f686f1fec3
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user