X-Git-Url: http://git.archive.openwrt.org/?p=project%2Flibubox.git;a=blobdiff_plain;f=CMakeLists.txt;h=752a7bf9906545171013821d1adb572bed85fc48;hp=e307cd7a0e4e491199b8475ab5fc0f9451bc36fa;hb=3205134afd524dafaeada8fc840ee6078e9aee49;hpb=efd7c8c4df2b922aa9691ba2b679147d6fb7a18f 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)