Handle zlib on Ubuntu.

This commit is contained in:
Chunting Gu
2019-03-19 09:57:18 +08:00
parent 5f64f3bb62
commit bc586c3ea0
4 changed files with 13 additions and 5 deletions
+5
View File
@@ -117,6 +117,11 @@ if(WIN32)
# For including CMake generated zconf.h.
include_directories(${PROJECT_BINARY_DIR}/third_party/src/zlib)
else()
find_package(ZLIB REQUIRED)
if(ZLIB_FOUND)
include_directories(${ZLIB_INCLUDE_DIRS})
endif()
endif()
# SOAP support needs pugixml to parse and create XML.