mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
jsoncpp: Add cm3p/ header for json/version.h
Add a `cm3p/` header to use the selected copy of the library.
This commit is contained in:
@@ -59,7 +59,6 @@
|
||||
{ include: [ "@<.*curl/system.h>", private, "<cm3p/curl/curl.h>", public ] },
|
||||
{ include: [ "@<.*json/config.h>", private, "<cm3p/json/value.h>", public ] },
|
||||
{ include: [ "@<.*json/forwards.h>", private, "<cm3p/json/value.h>", public ] },
|
||||
{ include: [ "@<.*json/version.h>", private, "<cm3p/json/value.h>", public ] },
|
||||
{ include: [ "@<.*uv/.+\\.h>", private, "<cm3p/uv.h>", public ] },
|
||||
{ include: [ "@<.*expat_external.h>", private, "<cm3p/expat.h>", public ] },
|
||||
{ include: [ "@<.*zconf.h>", private, "<cm3p/zlib.h>", public ] },
|
||||
|
||||
11
Utilities/cm3p/json/version.h
Normal file
11
Utilities/cm3p/json/version.h
Normal file
@@ -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 <json/version.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <cmjsoncpp/include/json/version.h> // IWYU pragma: export
|
||||
#endif
|
||||
Reference in New Issue
Block a user