[CMake] CPack and OpenSSL libraries

Crni Gorac cgorac at gmail.com
Tue Feb 15 17:38:56 EST 2011


Am using CPack to create Windows and Mac installers for an
application.  The application is Qt based, and BundleUtilities is
working great for me to pick up dependencies and such.  However, I
have problem that OpenSSL libraries, which are needed for some
segments of functionality of my app, are not picked up.  I guess Qt
network module is using these libraries as plugins, which means it is
checking in run time are libraries present on the target system or
not, and is loading them dynamically if so.  I have no problems with
my Mac installer in that regard, as it seems on Mac machines OpenSSL
libraries are installed by default, so my application is able to pick
them up at run time.  However, for the Windows installer, I'll guess
I'll have to pick them somehow.  So I was just wondering has anyone
encountered this problem so far, and what would be preferred solution
with CMake/CPack (to utilize FindOpenSSL.cmake and then explicitly
link my app with OpenSSL libraries, or maybe something else)?

Thanks.


More information about the CMake mailing list