Hello All,

I used to build the old versions of ClamAV like the following.

./configure --prefix=/opt/clamav --sysconfdir=/opt/clamav/etc --disable-unrar--disable-ipv6 --disable-zlib-vcheck --disable-silent-rules --enable-libclamav-only=yes --disable-xml --disable-bzip2 

Seems like the latest version needs CMAKE to run and build the software. I am unable to find many of the options to disable specific modules. Someone please help me to make the equivalent CMAKE command? I tried the following but it seems like enabling many modules that I really do not need.

cmake .. \
  -D CMAKE_INSTALL_PREFIX=/opt/clamav                                    \
  -D APP_CONFIG_DIRECTORY=/opt/clamav/etc                             \                         
  -D ENABLE_LIBCLAMAV_ONLY=ON                                                                  \
  -D ENABLE_UNRAR=OFF
 
Thanks in advance,

--
Regards....