commit 10a1ad7bfef5c5931a617c87f764b4378ca0d49d
parent bf527738b230ba82d83f36f0809ea61288202cb2
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date: Tue, 21 Jul 2015 22:21:59 +0200
Fixing linking error when using GCC
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -30,6 +30,6 @@ endif()
add_definitions(-Wall -Werror -std=c99 -pedantic)
add_executable(logswan ${SRC} ${DEPS})
-target_link_libraries(logswan ${LIB_GEOIP} ${LIB_JANSSON})
+target_link_libraries(logswan ${LIB_GEOIP} ${LIB_JANSSON} m)
install(TARGETS logswan DESTINATION bin)