projects
/
oweals
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efd7c8c
)
link against libnl-tiny
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 31 Jan 2011 19:30:21 +0000
(20:30 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 31 Jan 2011 19:36:36 +0000
(20:36 +0100)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index e307cd7a0e4e491199b8475ab5fc0f9451bc36fa..752a7bf9906545171013821d1adb572bed85fc48 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-10,6
+10,10
@@
ENDIF("${CMAKE_SYSTEM}" MATCHES "Linux")
ADD_LIBRARY(ubox SHARED ${SOURCES})
+IF("${CMAKE_SYSTEM}" MATCHES "Linux")
+ TARGET_LINK_LIBRARIES(ubox nl-tiny)
+ENDIF("${CMAKE_SYSTEM}" MATCHES "Linux")
+
SET(CMAKE_INSTALL_PREFIX /usr)
FILE(GLOB headers *.h)