From c30055a685bca1e81ccc8f4bd3bb08d780a7d762 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 11 Feb 2017 17:51:50 +0100 Subject: [PATCH] link libm to fix build error Signed-off-by: Felix Fietkau --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7fe7a16..76c9103 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ INCLUDE_DIRECTORIES(${ubox_include_dir} ${ubus_include_dir}) ADD_EXECUTABLE(ugps ${SOURCES}) -TARGET_LINK_LIBRARIES(ugps ${ubox} ${ubus}) +TARGET_LINK_LIBRARIES(ugps ${ubox} ${ubus} m) INSTALL(TARGETS ugps RUNTIME DESTINATION sbin -- 2.30.2