X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=CMakeLists.txt;h=6da39df2baf88402ebb7bc0d089f6f7dcda1e48e;hp=43ced00261c65ef3f7ca8270a199481754b27db6;hb=25cb39d2bcf72442c7d793a71b5a3950f701e302;hpb=23cfcee20f43d824d61fadef48af84a83d5b8816 diff --git a/CMakeLists.txt b/CMakeLists.txt index 43ced00..6da39df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.6) PROJECT(netifd C) -ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3) +ADD_DEFINITIONS(-Os -Wall -Werror) SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") @@ -11,7 +11,7 @@ IF(APPLE) ENDIF() IF(DEBUG) - ADD_DEFINITIONS(-DDEBUG -O0) + ADD_DEFINITIONS(-DDEBUG -O0 --std=gnu99 -g3) ENDIF() @@ -21,4 +21,4 @@ ADD_EXECUTABLE(netifd config.c device.c bridge.c vlan.c ubus.c system-dummy.c) -TARGET_LINK_LIBRARIES(netifd ubox ubus uci json) +TARGET_LINK_LIBRARIES(netifd ubox ubus uci json blobmsg_json)