aboutsummaryrefslogtreecommitdiff
path: root/ports/jsoncpp/allow-disable-examples.patch
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-10-07 05:59:03 +0800
committerGitHub <noreply@github.com>2020-10-06 14:59:03 -0700
commit524a7c61f3d3f3df569f134ebe9745ad64a730dc (patch)
tree6b0ddebd24d0b0f73800d05786b4a2273ef6a4d3 /ports/jsoncpp/allow-disable-examples.patch
parent25990eeccec1e74753a36aa715b2e25ff3341d29 (diff)
downloadvcpkg-524a7c61f3d3f3df569f134ebe9745ad64a730dc.tar.gz
vcpkg-524a7c61f3d3f3df569f134ebe9745ad64a730dc.zip
[jsoncpp] Update to latest revision (#13776)
* [jsoncpp] Update to latest revision * Fix typo issue
Diffstat (limited to 'ports/jsoncpp/allow-disable-examples.patch')
-rw-r--r--ports/jsoncpp/allow-disable-examples.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/ports/jsoncpp/allow-disable-examples.patch b/ports/jsoncpp/allow-disable-examples.patch
deleted file mode 100644
index 83413db90..000000000
--- a/ports/jsoncpp/allow-disable-examples.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 8a7d3ef..4e06331 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -82,6 +82,7 @@ option(JSONCPP_WITH_WARNING_AS_ERROR "Force compilation to fail if a warning occ
- option(JSONCPP_WITH_STRICT_ISO "Issue all the warnings demanded by strict ISO C and ISO C++" ON)
- option(JSONCPP_WITH_PKGCONFIG_SUPPORT "Generate and install .pc files" ON)
- option(JSONCPP_WITH_CMAKE_PACKAGE "Generate and install cmake package files" ON)
-+option(JSONCPP_WITH_EXAMPLE "Compile JsonCpp example" OFF)
- option(BUILD_SHARED_LIBS "Build jsoncpp_lib as a shared library." OFF)
-
- # Enable runtime search path support for dynamic libraries on OSX
-@@ -228,4 +229,6 @@ add_subdirectory( src )
- add_subdirectory( include )
-
- #install the example
--add_subdirectory( example )
-+if(JSONCPP_WITH_EXAMPLE)
-+ add_subdirectory( example )
-+endif()