summaryrefslogtreecommitdiffstats
path: root/Utilities/cm3p/lzma.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cm3p/lzma.h')
-rw-r--r--Utilities/cm3p/lzma.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/Utilities/cm3p/lzma.h b/Utilities/cm3p/lzma.h
new file mode 100644
index 0000000..abfacf3
--- /dev/null
+++ b/Utilities/cm3p/lzma.h
@@ -0,0 +1,14 @@
+/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+ file Copyright.txt or https://cmake.org/licensing for details. */
+#ifndef cm3p_lzma_h
+#define cm3p_lzma_h
+
+/* Use the liblzma configured for CMake. */
+#include "cmThirdParty.h"
+#ifdef CMAKE_USE_SYSTEM_LIBLZMA
+# include <lzma.h> // IWYU pragma: export
+#else
+# include <cmliblzma/liblzma/api/lzma.h> // IWYU pragma: export
+#endif
+
+#endif