Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-01-31 22:30:21 +0300
committerFelix Fietkau <nbd@openwrt.org>2011-01-31 22:36:36 +0300
commit3205134afd524dafaeada8fc840ee6078e9aee49 (patch)
tree8bcf7eb1f651551ca4df0629ab28d823ec8d4802 /CMakeLists.txt
parentefd7c8c4df2b922aa9691ba2b679147d6fb7a18f (diff)
link against libnl-tiny
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e307cd7..752a7bf 100644
--- 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)