From 9561bb651028e4650a48eb45d0ce5b89b8568e5b Mon Sep 17 00:00:00 2001 From: alt Date: Thu, 20 Mar 2014 09:37:59 +0800 Subject: [PATCH] add depend lib for libcrypt.a: libdl and libz --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f306cee..c44aab8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -194,7 +194,7 @@ target_include_directories(fc ${CMAKE_CURRENT_SOURCE_DIR}/vendor/easylzma/src ) -target_link_libraries( fc easylzma_static ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ) +target_link_libraries( fc easylzma_static ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARIES} ${CMAKE_DL_LIBS}) #add_executable( test_compress tests/compress.cpp ) #target_link_libraries( test_compress fc )