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).
This commit is contained in:
Zmey Petroff 2011-04-28 00:05:07 +04:00 committed by Daniel Stenberg
parent 4a42e5cdaa
commit 2cbe885c1a
4 changed files with 51 additions and 25 deletions

View file

@ -54,3 +54,5 @@ if(MSVC)
endif()
#INCLUDE(ModuleInstall OPTIONAL)
install(TARGETS ${EXE_NAME} DESTINATION bin)