vcpkg/ports/azure-iot-sdk-c/improve-external-deps-2.patch
2018-04-19 16:42:48 -07:00

21 lines
720 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index aa2dfad..f1656ea 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -129,15 +129,6 @@ endif()
#Use solution folders.
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
-# build the parson library for json parsing
-add_library(parson
- ./deps/parson/parson.c
- ./deps/parson/parson.h
-)
-if(MSVC)
- set_source_files_properties(../deps/parson/parson.c PROPERTIES COMPILE_FLAGS "/wd4244 /wd4232")
-endif()
-
if(IN_OPENWRT)
ADD_DEFINITIONS("$ENV{TARGET_LDFLAGS}" "$ENV{TARGET_CPPFLAGS}" "$ENV{TARGET_CFLAGS}")
INCLUDE_DIRECTORIES("$ENV{TOOLCHAIN_DIR}/usr/include" "$ENV{TARGET_LDFLAGS}" "$ENV{TARGET_CPPFLAGS}" "$ENV{TARGET_CFLAGS}")