--- storage/tokudb/PerconaFT/ft/CMakeLists.txt.orig	2017-01-12 01:45:22 UTC
+++ storage/tokudb/PerconaFT/ft/CMakeLists.txt
@@ -85,8 +85,8 @@ set_target_properties(ft_static PROPERTI
 maybe_add_gcov_to_libraries(ft ft_static)
 
 ## depend on other generated targets
-add_dependencies(ft install_tdb_h generate_log_code build_lzma build_snappy)
-add_dependencies(ft_static install_tdb_h generate_log_code build_lzma build_snappy)
+add_dependencies(ft install_tdb_h generate_log_code)
+add_dependencies(ft_static install_tdb_h generate_log_code)
 
 ## link with lzma (which should be static) and link dependers with zlib
 target_link_libraries(ft LINK_PRIVATE util_static lzma snappy ${LIBTOKUPORTABILITY})
