cm_libarchive.h 479 Bytes
Newer Older
1 2
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
3 4
#ifndef cm_libarchive_h
#define cm_libarchive_h
5 6 7 8

/* Use the libarchive configured for CMake.  */
#include "cmThirdParty.h"
#ifdef CMAKE_USE_SYSTEM_LIBARCHIVE
9 10
#  include <archive.h>
#  include <archive_entry.h>
11
#else
12 13
#  include <cmlibarchive/libarchive/archive.h>
#  include <cmlibarchive/libarchive/archive_entry.h>
14 15 16
#endif

#endif