mirror of
https://github.com/reactos/CMake.git
synced 2024-12-12 22:05:57 +00:00
1761a9a546
Build zstd as part of CMake or find one on the system. Modify our port of libarchive to use the zstd configured for use with CMake. Issue: #18657
15 lines
357 B
C
15 lines
357 B
C
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
|
#ifndef cm_zstd_h
|
|
#define cm_zstd_h
|
|
|
|
/* Use the libzstd configured for CMake. */
|
|
#include "cmThirdParty.h"
|
|
#ifdef CMAKE_USE_SYSTEM_ZSTD
|
|
# include <zstd.h>
|
|
#else
|
|
# include <cmzstd/lib/zstd.h>
|
|
#endif
|
|
|
|
#endif
|