Issue #, if available:
Applicable OPENSSL_ vars weren't being properly used after OpenSSL detection concluded. INCLUDES were referenced, LIBRARY(-IES) were not.
This was passable under normal circumstances in which only the system-provided OpenSSL was used during builds. However, non-standard OpenSSL (built and installed anywhere but to system) could be found via the CMake script, but incorrect libraries would be linked.
Description of changes:
Substituted the hardcoded library names with OPENSSL__LIBRARY vars.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: Applicable OPENSSL_ vars weren't being properly used after OpenSSL detection concluded. INCLUDES were referenced, LIBRARY(-IES) were not.
This was passable under normal circumstances in which only the system-provided OpenSSL was used during builds. However, non-standard OpenSSL (built and installed anywhere but to system) could be found via the CMake script, but incorrect libraries would be linked.
Description of changes: Substituted the hardcoded library names with OPENSSL__LIBRARY vars.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.