From 8ed9cdce80d78d3466cbd075ff48e40268d38c91 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 1 Oct 2009 10:19:07 +0200 Subject: Remove --as-needed linker flag. --- ConfigureChecks.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 6ccc6070..8ca82585 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -39,8 +39,10 @@ endif (WIN32) set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIRS}) check_include_file(openssl/aes.h HAVE_OPENSSL_AES_H) + set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIRS}) check_include_file(openssl/blowfish.h HAVE_OPENSSL_BLOWFISH_H) + set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIRS}) check_include_file(openssl/des.h HAVE_OPENSSL_DES_H) @@ -75,6 +77,7 @@ if (UNIX) check_function_exists(cfmakeraw HAVE_CFMAKERAW) check_function_exists(regcomp HAVE_REGCOMP) endif (UNIX) + set(LIBSSH_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} CACHE INTERNAL "libssh required system libraries") # LIBRARIES -- cgit v1.2.3