[cmake-developers] [CMake 0014764]: FindOpenSSL.cmake PkgConfig results takes priority over OPENSSL_ROOT_DIR variable
Mantis Bug Tracker
mantis at public.kitware.com
Tue Feb 18 13:51:13 EST 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14764
======================================================================
Reported By: Ho Cheung
Assigned To:
======================================================================
Project: CMake
Issue ID: 14764
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-02-18 13:51 EST
Last Modified: 2014-02-18 13:51 EST
======================================================================
Summary: FindOpenSSL.cmake PkgConfig results takes priority
over OPENSSL_ROOT_DIR variable
Description:
If PkgConfig is installed on a Unix-like OS (mine is installed via Macports),
the FindOpenSSL.cmake scripts will use it instead of using the OPENSSL_ROOT_DIR
variable.
The solution seems to be to move the OPENSSL_ROOT_HINTS_AND_PATHS variable in
front of the _OPENSSL_INCLUDEDIR/_OPENSSL_LIBDIR in the appropriate hinting
locations.
Patch is attached.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-02-18 13:51 Ho Cheung New Issue
2014-02-18 13:51 Ho Cheung File Added: FindOpenSSLPkgConfigFix.diff
======================================================================
More information about the cmake-developers
mailing list