From 172045b53b3403fb6049b5a416e7f79848eb70a3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 19 May 2023 10:22:05 -0400 Subject: jsoncpp: Add cm3p/ headers for json/json.h and json/forwards.h Add `cm3p/` headers to use the selected copy of the library. --- Utilities/cm3p/json/forwards.h | 11 +++++++++++ Utilities/cm3p/json/json.h | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 Utilities/cm3p/json/forwards.h create mode 100644 Utilities/cm3p/json/json.h diff --git a/Utilities/cm3p/json/forwards.h b/Utilities/cm3p/json/forwards.h new file mode 100644 index 0000000..c55c5c1 --- /dev/null +++ b/Utilities/cm3p/json/forwards.h @@ -0,0 +1,11 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ +#pragma once + +/* Use the jsoncpp library configured for CMake. */ +#include "cmThirdParty.h" +#ifdef CMAKE_USE_SYSTEM_JSONCPP +# include // IWYU pragma: export +#else +# include // IWYU pragma: export +#endif diff --git a/Utilities/cm3p/json/json.h b/Utilities/cm3p/json/json.h new file mode 100644 index 0000000..5671e91 --- /dev/null +++ b/Utilities/cm3p/json/json.h @@ -0,0 +1,11 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ +#pragma once + +/* Use the jsoncpp library configured for CMake. */ +#include "cmThirdParty.h" +#ifdef CMAKE_USE_SYSTEM_JSONCPP +# include // IWYU pragma: export +#else +# include // IWYU pragma: export +#endif -- cgit v0.12