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 "")
ENDIF()
IF(DEBUG)
- ADD_DEFINITIONS(-DDEBUG -O0)
+ ADD_DEFINITIONS(-DDEBUG -O0 --std=gnu99 -g3)
ENDIF()
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)