diff options
author | Zmey Petroff <zmeypetroff@newmail.ru> | 2011-04-28 00:05:07 +0400 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-04-28 10:12:33 +0200 |
commit | 2cbe885c1a4d4f9b64fa0f41582e9d1b68affa25 (patch) | |
tree | 1f6fd2e4bea90d1773dc5a47ea6fe6879a5f344f /src | |
parent | 4a42e5cdaa344755c6bf5317908849619f61798b (diff) |
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).
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index faea09676..eb6933e69 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -54,3 +54,5 @@ if(MSVC) endif() #INCLUDE(ModuleInstall OPTIONAL) + +install(TARGETS ${EXE_NAME} DESTINATION bin) |