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)

View File

@ -20,10 +20,10 @@
#cmakedefine HAVE_VSNPRINTF 1
#cmakedefine HAVE_VSPRINTF_S 1
/* Defined if your compiler supports ISO _strdup. */
/* Defined if your compiler supports ISO _strdup */
#cmakedefine HAVE_ISO_STRDUP 1
/* Defined if you have libz */
/* Defined if zlib is installed */
#cmakedefine HAVE_ZLIB 1
/* Indicates whether debug messages are shown even in release mode */