Add an option to disable GZIP.

This commit is contained in:
Chunting Gu
2019-04-22 14:43:46 +08:00
parent 88f5ae3c91
commit 2a868c4dc1
20 changed files with 130 additions and 74 deletions
+4
View File
@@ -18,6 +18,10 @@ file(GLOB SRCS
${CMAKE_CURRENT_SOURCE_DIR}/*.cc
${CMAKE_CURRENT_SOURCE_DIR}/*.h)
if(NOT WEBCC_ENABLE_GZIP)
list(REMOVE_ITEM SRCS "gzip.h" "gzip.cc")
endif()
set(TARGET webcc)
add_library(${TARGET} STATIC ${SRCS})