summaryrefslogtreecommitdiffstats
path: root/Utilities/cm_libarchive.h
blob: ea8e9db62842217fefd7b3e2c522b7b9ac005057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#ifndef cm_libarchive_h
#define cm_libarchive_h

/* Use the libarchive configured for CMake.  */
#include "cmThirdParty.h"
#ifdef CMAKE_USE_SYSTEM_LIBARCHIVE
#  include <archive.h>
#  include <archive_entry.h>
#else
#  include <cmlibarchive/libarchive/archive.h>
#  include <cmlibarchive/libarchive/archive_entry.h>
#endif

#endif