Blob Blame Raw
Index: librime/CMakeLists.txt
===================================================================
--- librime.orig/CMakeLists.txt
+++ librime/CMakeLists.txt
@@ -57,7 +57,6 @@ if(YamlCpp_FOUND)
   include_directories(${YamlCpp_INCLUDE_PATH})
 endif(YamlCpp_FOUND)
 
-find_package(ZLIB)
 find_package(KyotoCabinet REQUIRED)
 if(KyotoCabinet_FOUND)
   include_directories(${KyotoCabinet_INCLUDE_PATH})
Index: librime/src/CMakeLists.txt
===================================================================
--- librime.orig/src/CMakeLists.txt
+++ librime/src/CMakeLists.txt
@@ -15,7 +15,7 @@ endif(Gflags_FOUND)
 
 set(RIME_DEPS
     ${Boost_LIBRARIES} ${Glog_LIBRARY} ${YamlCpp_LIBRARY} ${KyotoCabinet_LIBRARY} ${Opencc_LIBRARY}
-    ${ZLIB_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} ${RIME_OPTIONAL_DEPS})
+    ${CMAKE_THREAD_LIBS_INIT} ${RIME_OPTIONAL_DEPS})
 
 if(NOT BUILD_SHARED_LIBS)
   add_library(rime-static STATIC ${LIBRIME_SRC})