2010-08-06 01:06:10 +04:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2010 Kitware, Inc., Insight Software Consortium
|
|
|
|
|
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
|
|
|
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the License for more information.
|
|
|
|
============================================================================*/
|
2014-12-11 21:10:03 +03:00
|
|
|
#ifndef cm_libarchive_h
|
|
|
|
#define cm_libarchive_h
|
2010-08-06 01:06:10 +04:00
|
|
|
|
|
|
|
/* Use the libarchive configured for CMake. */
|
|
|
|
#include "cmThirdParty.h"
|
|
|
|
#ifdef CMAKE_USE_SYSTEM_LIBARCHIVE
|
2016-05-16 17:34:04 +03:00
|
|
|
#include <archive.h>
|
|
|
|
#include <archive_entry.h>
|
2010-08-06 01:06:10 +04:00
|
|
|
#else
|
2016-05-16 17:34:04 +03:00
|
|
|
#include <cmlibarchive/libarchive/archive.h>
|
|
|
|
#include <cmlibarchive/libarchive/archive_entry.h>
|
2010-08-06 01:06:10 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|