From 2cbe885c1a4d4f9b64fa0f41582e9d1b68affa25 Mon Sep 17 00:00:00 2001 From: Zmey Petroff Date: Thu, 28 Apr 2011 00:05:07 +0400 Subject: 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). --- lib/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index aec1a3c5b..09b976c4c 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -122,3 +122,5 @@ if(WIN32) set_target_properties(${LIB_NAME} PROPERTIES IMPORT_SUFFIX "_imp.lib") endif() endif() + +install(TARGETS ${LIB_NAME} DESTINATION lib) -- cgit v1.2.3