diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2012-12-06 23:27:26 -0500 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2013-04-17 09:56:16 -0700 |
commit | 5a5e5886843f523ef2cb1991a27d0b0fb828fc19 (patch) | |
tree | 10fa5470bd26bd335354bfc70c3e6938f1d8051f /cmake/FindcyaSSL.cmake | |
parent | 2ee021a29a29c3557c8cf467918c90d043517d17 (diff) | |
download | rabbitmq-c-5a5e5886843f523ef2cb1991a27d0b0fb828fc19.tar.gz |
Update FindPolarSSL and FindcyaSSL cmake scripts
LibFindMacros.cmake was removed from the project. Update FindPolarSSL
and FindcyaSSL scripts to work without LibFindMacros.cmake
Diffstat (limited to 'cmake/FindcyaSSL.cmake')
-rw-r--r-- | cmake/FindcyaSSL.cmake | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/cmake/FindcyaSSL.cmake b/cmake/FindcyaSSL.cmake index 80452bb..06bac00 100644 --- a/cmake/FindcyaSSL.cmake +++ b/cmake/FindcyaSSL.cmake @@ -1,17 +1,23 @@ -INCLUDE(LibFindMacros) +# - Try to find the cyaSSL SSL Library +# The module will set the following variables +# +# CYASSL_FOUND - System has popt +# CYASSL_INCLUDE_DIR - The popt include directory +# CYASSL_LIBRARIES - The libraries needed to use popt # Find the include directories FIND_PATH(CYASSL_INCLUDE_DIR NAMES cyassl/ssl.h - HINTS ${CYASSL_PREFIX}/include + DOC "Path containing the cyassl/ssl.h include file" ) -FIND_LIBRARY(CYASSL_LIBRARY +FIND_LIBRARY(CYASSL_LIBRARIES NAMES cyassl - HINTS ${CYASSL_PREFIX}/lib + DOC "cyassl library path" ) -SET(CYASSL_PROCESS_INCLUDES CYASSL_INCLUDE_DIR) -SET(CYASSL_PROCESS_LIBS CYASSL_LIBRARY) +include(FindPackageHandleStandardArgs) -LIBFIND_PROCESS(CYASSL) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(CYASSL + REQUIRED_VARS CYASSL_INCLUDE_DIR CYASSL_LIBRARIES + ) |