Hi Gerard, On Tue, Sep 17, 2013 at 04:36:27PM +0200, Gerard wrote: > Cmake: 2.8.11.2 > Openssl: 0.9.8 > Freerdp: 1.0.2 > > cmake -DOPENSSL_SSL_LIBRARY=/usr/local/ssl/lib > -DOPENSSL_INCLUDE_DIR=/usr/local/ssl/include \ > > -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON -DWITH_CUPS=OFF -DWITH_FFMPEG=OFF > -DWITH_ALSA=OFF . > > WARNING: Target "freerdp-gdi" requests linking to directory > "/usr/local/ssl/lib". Targets may link only to libraries. CMake is > dropping the item. OPENSSL_SSL_LIBRARY is the path to the library that is set by cmakes openssl detection. If you set it manually you need to set the library itself (and not the path) e.g. -DOPENSSL_SSL_LIBRARY=/usr/local/ssl/lib/libss.so (thats what causes the linking to directory error). If you set OPENSSL_SSL_LIBRARY you will also need to set OPENSSL_CRYPTO_LIBRARY to libcrypto.so.
Instead of setting the library manually you might want to try setting CMAKE_PREFIX_PATH (: seperated list of paths) pointing to /usr/local/ssl (and other paths if required) like -DCMAKE_PREFIX_PATH=/usr/local/ssl. Cmake looks for libraries and includes first in these paths then. Best regards, Bernhard ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Freerdp-devel mailing list Freerdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel