View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014764CMakeCMakepublic2014-02-18 13:512014-10-06 10:32
ReporterHo Cheung 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformUnix/LinuxOSOS Version
Product VersionCMake 2.8.12.2 
Target VersionFixed in Version 
Summary0014764: FindOpenSSL.cmake PkgConfig results takes priority over OPENSSL_ROOT_DIR variable
DescriptionIf 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.
TagsNo tags attached.
Attached Filesdiff file icon FindOpenSSLPkgConfigFix.diff [^] (1,295 bytes) 2014-02-18 13:51 [Show Content]

 Relationships

  Notes
(0035142)
Brad King (manager)
2014-02-18 15:08

Applied, thanks:

 FindOpenSSL: Prefer OPENSSL_ROOT_DIR first
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e346c47a [^]
(0036910)
Robert Maynard (manager)
2014-10-06 10:32

Closing resolved issues that have not been updated in more than 4 months.

 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
2014-02-18 15:08 Brad King Note Added: 0035142
2014-02-18 15:08 Brad King Assigned To => Brad King
2014-02-18 15:08 Brad King Status new => resolved
2014-02-18 15:08 Brad King Resolution open => fixed
2014-10-06 10:32 Robert Maynard Note Added: 0036910
2014-10-06 10:32 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team