2016-09-27 19:01:08 +00:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2014-12-11 18:10:03 +00:00
|
|
|
#ifndef cm_libarchive_h
|
|
|
|
#define cm_libarchive_h
|
2010-08-05 21:06:10 +00:00
|
|
|
|
|
|
|
/* Use the libarchive configured for CMake. */
|
|
|
|
#include "cmThirdParty.h"
|
|
|
|
#ifdef CMAKE_USE_SYSTEM_LIBARCHIVE
|
2016-05-16 14:34:04 +00:00
|
|
|
#include <archive.h>
|
|
|
|
#include <archive_entry.h>
|
2010-08-05 21:06:10 +00:00
|
|
|
#else
|
2016-05-16 14:34:04 +00:00
|
|
|
#include <cmlibarchive/libarchive/archive.h>
|
|
|
|
#include <cmlibarchive/libarchive/archive_entry.h>
|
2010-08-05 21:06:10 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|