From 3205134afd524dafaeada8fc840ee6078e9aee49 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 31 Jan 2011 20:30:21 +0100 Subject: [PATCH] link against libnl-tiny --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.25.1