projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: remove install prefix override
[project/ubus.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
a2c4101
..
e6b8b86
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-12,7
+12,7
@@
IF(APPLE)
LINK_DIRECTORIES(/opt/local/lib)
ENDIF()
LINK_DIRECTORIES(/opt/local/lib)
ENDIF()
-ADD_LIBRARY(ubus SHARED libubus.c libubus-io.c libubus-obj.c)
+ADD_LIBRARY(ubus SHARED libubus.c libubus-io.c libubus-obj.c
libubus-sub.c libubus-req.c
)
TARGET_LINK_LIBRARIES(ubus ubox)
ADD_EXECUTABLE(ubusd ubusd.c ubusd_id.c ubusd_obj.c ubusd_proto.c ubusd_event.c)
TARGET_LINK_LIBRARIES(ubus ubox)
ADD_EXECUTABLE(ubusd ubusd.c ubusd_id.c ubusd_obj.c ubusd_proto.c ubusd_event.c)
@@
-22,8
+22,6
@@
ADD_EXECUTABLE(cli cli.c)
SET_TARGET_PROPERTIES(cli PROPERTIES OUTPUT_NAME ubus)
TARGET_LINK_LIBRARIES(cli ubus ubox blobmsg_json json)
SET_TARGET_PROPERTIES(cli PROPERTIES OUTPUT_NAME ubus)
TARGET_LINK_LIBRARIES(cli ubus ubox blobmsg_json json)
-SET(CMAKE_INSTALL_PREFIX /usr)
-
ADD_SUBDIRECTORY(lua)
ADD_SUBDIRECTORY(examples)
ADD_SUBDIRECTORY(lua)
ADD_SUBDIRECTORY(examples)