mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Add option to build CMake against a system jsoncpp
Create a CMAKE_USE_SYSTEM_JSONCPP option.
This commit is contained in:
@@ -13,6 +13,11 @@
|
||||
#define cm_jsoncpp_value_h
|
||||
|
||||
/* Use the jsoncpp library configured for CMake. */
|
||||
#include <cmjsoncpp/include/json/value.h>
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_JSONCPP
|
||||
# include <json/value.h>
|
||||
#else
|
||||
# include <cmjsoncpp/include/json/value.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user