summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 8e29910..47f2fca 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -41,6 +41,10 @@ if( NOT LIBCLAMAV_FOUND )
tde_message_fatal( "ClamAV >=0.102.0 is required but not found on your system" )
endif( NOT LIBCLAMAV_FOUND )
+if( NOT "${LIBCLAMAV_VERSION}" VERSION_LESS "0.103" )
+ set( USE_CL_ERROR_T 1 )
+endif()
+
##### check for zlib (needed by Virus Browser)