mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 04:47:50 +08:00
21 lines
720 B
Diff
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}")
|