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
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers