CMake: improve library search, implement install.
authorZmey Petroff <zmeypetroff@newmail.ru>
Wed, 27 Apr 2011 20:05:07 +0000 (00:05 +0400)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 28 Apr 2011 08:12:33 +0000 (10:12 +0200)
commit2cbe885c1a4d4f9b64fa0f41582e9d1b68affa25
tree1f6fd2e4bea90d1773dc5a47ea6fe6879a5f344f
parent4a42e5cdaa344755c6bf5317908849619f61798b
CMake: improve library search, implement install.

Improved library search by check_function_exists_concat() macro:
it does not revert the list of libraries any more.

Improved OpenSSL library search: first find zlib, then search for
openssl libraries that may depend on zlib.

For Unix: openssl libraries can now be detected in nonstandard
locations. Supply CMAKE_LIBRARY_PATH to CMake on command line.

Added installation capability (very basic one yet).
CMakeLists.txt
docs/INSTALL.cmake
lib/CMakeLists.txt
src/CMakeLists.txt