mirror of
https://github.com/outbackdingo/udevmand.git
synced 2026-08-25 14:53:42 +00:00
minor cleanup in the library definitions
Signed-off-by: John Crispin <[email protected]>
This commit is contained in:
+2
-2
@@ -4,10 +4,10 @@ PROJECT(udevmand C)
|
|||||||
INCLUDE(GNUInstallDirs)
|
INCLUDE(GNUInstallDirs)
|
||||||
ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations)
|
ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations)
|
||||||
|
|
||||||
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
|
SET(LIBS ubox ubus json-c blobmsg_json uci nl-tiny)
|
||||||
|
|
||||||
ADD_EXECUTABLE(udevmand main.c mac.c neigh.c ubus.c nl80211.c blob.c netlink.c bridge.c dhcp.c netifd.c ethers.c netdev.c)
|
ADD_EXECUTABLE(udevmand main.c mac.c neigh.c ubus.c nl80211.c blob.c netlink.c bridge.c dhcp.c netifd.c ethers.c netdev.c)
|
||||||
TARGET_LINK_LIBRARIES(udevmand ubox ubus json-c blobmsg_json nl-tiny uci)
|
TARGET_LINK_LIBRARIES(udevmand ${LIBS})
|
||||||
INSTALL(TARGETS udevmand
|
INSTALL(TARGETS udevmand
|
||||||
RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}
|
RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user