mirror of
https://github.com/reactos/CMake.git
synced 2025-02-27 07:27:23 +00:00

Build liblzma as part of CMake or find one on the system. Modify our port of libarchive to use the liblzma configured for use with CMake.
24 lines
791 B
C
24 lines
791 B
C
/*============================================================================
|
|
CMake - Cross Platform Makefile Generator
|
|
Copyright 2014 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.
|
|
============================================================================*/
|
|
#ifndef __cm_lzma_h
|
|
#define __cm_lzma_h
|
|
|
|
/* Use the liblzma configured for CMake. */
|
|
#include "cmThirdParty.h"
|
|
#ifdef CMAKE_USE_SYSTEM_LIBLZMA
|
|
# include <lzma.h>
|
|
#else
|
|
# include <cmliblzma/liblzma/api/lzma.h>
|
|
#endif
|
|
|
|
#endif
|