mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
8436d18115
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
|