NAMES_PER_DIR is enabled on find_library, and having multiples names
in the same directory is unlikely but might happen when installing a
newer openssl over an old one I think.
I will change to this :
+ libssl${_OPENSSL_MSVC_ARCH_SUFFIX}${_OPENSSL_MSVC_RT_MODE}
+ libssl
ssleay32${_OPENSSL_MSVC_RT_MODE}
ssleay32
ssl
Also, I didn't see the intel case in FindOpenSSL.cmake, it also need
changes as it actually only search for ssleay32 and libeay32.
Alexis
2016-08-28 23:18 GMT+02:00 Craig Scott <[email protected]>:
> In that patch, the old names are listed before the new names, so if both
> exist on the system, the older version would be found first. Would it be
> preferable instead to swap the order to give preference to the newer version
> in such a scenario?
>
> --
> Craig Scott
> Melbourne, Australia
> http://crascit.com
--
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