From: Felix Fietkau Date: Sat, 11 Feb 2017 16:51:50 +0000 (+0100) Subject: link libm to fix build error X-Git-Url: http://git.openwrt.org/?p=project%2Fugps.git;a=commitdiff_plain;h=c30055a685bca1e81ccc8f4bd3bb08d780a7d762 link libm to fix build error Signed-off-by: Felix Fietkau --- 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