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 ====================================================================== -- 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