vcpkg/ports/azure-iot-sdk-c/improve-external-deps-2.patch

21 lines
720 B
Diff
Raw Normal View History

2018-04-20 06:04:00 +08:00
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}")