Hello,

1. We use the openssl binary for encrypting things in a cmake step. It would be 
nice if FindOpenSSL could find the binary "openssl" as well as the includes and 
libs, so we can use the same versions as we link easily. Maybe something like 
the below would do:

...

# ``OPENSSL_EXECUTABLE ``
#   The openssl binary.

...

find_path(OPENSSL_EXECUTABLE
  NAMES
    openssl
  ${_OPENSSL_ROOT_HINTS_AND_PATHS}
  PATH_SUFFIXES
    bin
)

...

2. Should "OPENSSL_INCLUDE_DIR" be "OPENSSL_INCLUDE_DIRS" or is that not a 
hard-and-fast rule?

Thanks,
Harry

Harry Mallon
CODEX | Software Engineer
60 Poland Street | London | England | W1F 7NT
E ha...@codexdigital.com | T +44 203 7000 989
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to