Backport some comments from tablib2 branch.

This commit is contained in:
Tsuda Kageyu
2015-12-21 13:54:02 +09:00
parent 5cd139a578
commit 130654316b
2 changed files with 5 additions and 3 deletions

View File

@ -212,7 +212,7 @@ check_cxx_source_compiles("
}
" HAVE_ISO_STRDUP)
# Check for libz using the cmake supplied FindZLIB.cmake
# Determine whether zlib is installed.
if(NOT ZLIB_SOURCE)
find_package(ZLIB)
@ -223,6 +223,8 @@ if(NOT ZLIB_SOURCE)
endif()
endif()
# Determine whether CppUnit is installed.
if(BUILD_TESTS AND NOT BUILD_SHARED_LIBS)
find_package(CppUnit)
if(NOT CppUnit_FOUND)