mirror of
https://github.com/reactos/CMake.git
synced 2024-12-01 15:30:40 +00:00
27c6da933e
Create a CMAKE_USE_SYSTEM_JSONCPP option.
24 lines
830 B
C
24 lines
830 B
C
/*============================================================================
|
|
CMake - Cross Platform Makefile Generator
|
|
Copyright 2000-2015 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_jsoncpp_writer_h
|
|
#define cm_jsoncpp_writer_h
|
|
|
|
/* Use the jsoncpp library configured for CMake. */
|
|
#include "cmThirdParty.h"
|
|
#ifdef CMAKE_USE_SYSTEM_JSONCPP
|
|
# include <json/writer.h>
|
|
#else
|
|
# include <cmjsoncpp/include/json/writer.h>
|
|
#endif
|
|
|
|
#endif
|