add depend lib for libcrypt.a: libdl and libz

This commit is contained in:
alt 2014-03-20 09:37:59 +08:00
parent e4e99f98d9
commit 9561bb6510

View file

@ -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 )