lloyd/yajl — Issue #68: json_reformat should link against libm
Author: abique
Created: 2012-01-09 13:42:41+00:00
State: open

Here is the patch:

--- a/reformatter/CMakeLists.txt	2011-12-20 01:23:22.000000000 +0100
+++ b/reformatter/CMakeLists.txt	2012-01-09 14:37:48.950202826 +0100
@@ -26,7 +26,7 @@

ADD_EXECUTABLE(json_reformat ${SRCS})

-TARGET_LINK_LIBRARIES(json_reformat yajl_s)
+TARGET_LINK_LIBRARIES(json_reformat yajl_s m)

# copy the binary into the output directory
GET_TARGET_PROPERTY(binPath json_reformat LOCATION)