[cmake-developers] [CMake 0015409]: FindOpenSSL does not find correct libraries with MinGW
Mantis Bug Tracker
mantis at public.kitware.com
Wed Feb 18 03:52:50 EST 2015
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15409
======================================================================
Reported By: David Demelier
Assigned To:
======================================================================
Project: CMake
Issue ID: 15409
Category: Modules
Reproducibility: always
Severity: major
Priority: high
Status: new
======================================================================
Date Submitted: 2015-02-18 03:52 EST
Last Modified: 2015-02-18 03:52 EST
======================================================================
Summary: FindOpenSSL does not find correct libraries with
MinGW
Description:
When using MinGW Generator, FindOpenSSL locate the following DLL as
OPENSSL_LIBRARIES:
C:\Program Files (x86)\CMake\bin\libeay32.dll
C:\Program Files (x86)\CMake\bin\ssleay32.dll
It indeed makes ld.exe crash since these are not import libraries. And OpenSSL
built with mingw are named libssl.dll.a and libcrypto.dll.a.
Steps to Reproduce:
Use find_package(OpenSSL) with MinGW Generator.
Ends with:
-- Found OpenSSL: C:/Program Files (x86)/CMake/bin/ssleay32.dll;C:/Program Files
(x86)/CMake/bin/libeay32.dll (found version "1.0.1h")
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-02-18 03:52 David Demelier New Issue
======================================================================
More information about the cmake-developers
mailing list