[cmake-developers] [CMake 0015075]: Unable to Override System OpenSSL with custom path (-DCMAKE_PREFIX_PATH=)

Mantis Bug Tracker mantis at public.kitware.com
Sun Aug 10 07:52:55 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15075 
====================================================================== 
Reported By:                Cameron Garnham
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15075
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-08-10 07:52 EDT
Last Modified:              2014-08-10 07:52 EDT
====================================================================== 
Summary:                    Unable to Override System OpenSSL with custom path
(-DCMAKE_PREFIX_PATH=)
Description: 
cmake should use the latest version of OpenSSL found on the prefix path.
however the pgk-config version overrides a custom path.



Steps to Reproduce: 
(OS Mac X)

$ brew install openssl
(will install to /usr/local/opt/openssl as an optional package)

$ cmake -DCMAKE_PREFIX_PATH=/usr/local/opt/openssl

cmake will report:
 "-- Found OpenSSL:
/usr/local/opt/openssl/lib/libssl.dylib;/usr/local/opt/openssl/lib/libcrypto.dylib
(found version "0.9.8y")"
yet the version in:
/usr/local/opt/openssl/include/openssl is: OPENSSL_VERSION_NUMBER 0x1000109fL


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-08-10 07:52 Cameron GarnhamNew Issue                                    
======================================================================



More information about the cmake-developers mailing list