2
if( HAVE_LIBARCHIVE_READ_DISK_API )
3
if( NOT HAVE_LIBARCHIVE_LZMA_SUPPORT OR NOT HAVE_LIBARCHIVE_XZ_SUPPORT )
4
message(STATUS "Your libarchive does not have support for lzma and/or xz archives. libarchive >= 2.7.0 is recommended.")
5
endif( NOT HAVE_LIBARCHIVE_LZMA_SUPPORT OR NOT HAVE_LIBARCHIVE_XZ_SUPPORT )
6
if( NOT HAVE_LIBARCHIVE_RPM_SUPPORT )
7
message(STATUS "Your libarchive does not have support for rpm archives. libarchive >= 2.8.0 is required for this.")
8
endif( NOT HAVE_LIBARCHIVE_RPM_SUPPORT )
9
if( NOT HAVE_LIBARCHIVE_CAB_SUPPORT )
10
message(STATUS "Your libarchive does not have support for cab archives. libarchive >= 3.0.0 is required for this.")
11
endif( NOT HAVE_LIBARCHIVE_CAB_SUPPORT )
12
add_subdirectory( libarchive )
13
else( HAVE_LIBARCHIVE_READ_DISK_API )
14
# Remove the cached variables from FindLibArchive.cmake
15
unset( LIBARCHIVE_FOUND )
16
unset( LIBARCHIVE_INCLUDE_DIR )
17
unset( LIBARCHIVE_LIBRARY )
18
message(STATUS "Your libarchive does not have support for archive_read_disk api. libarchive >= 2.6.0 is needed.")
19
endif( HAVE_LIBARCHIVE_READ_DISK_API )
20
endif (LIBARCHIVE_FOUND)
1
add_subdirectory( libarchive )
22
2
add_subdirectory( clirarplugin )
23
3
add_subdirectory( cli7zplugin )
24
4
add_subdirectory( clizipplugin )
25
5
add_subdirectory( libsinglefileplugin )
6
#add_subdirectory( karchiveplugin )
26
7
add_subdirectory( clilhaplugin )
28
9
set(SUPPORTED_ARK_MIMETYPES "${SUPPORTED_ARK_MIMETYPES}" PARENT_SCOPE)