fix link option 75/10275/2 3.99.3 dab/3.99.3 dab_3.99.3
authorRonan Le Martret <ronan.lemartret@iot.bzh>
Tue, 18 Jul 2017 15:58:24 +0000 (17:58 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 21 Jul 2017 14:31:39 +0000 (14:31 +0000)
Change-Id: Ibca245fc8c6ec7c68d24b9c6e693156974f186ef
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
(cherry picked from commit 4a538f440d525a2d01bd892989998dbaf67e5af0)

conf.d/cmake/config.cmake

index 7b335e3..e9ab925 100644 (file)
@@ -75,6 +75,10 @@ add_compile_options(-DPB_FIELD_16BIT)
 set(CMAKE_C_FLAGS "")
 set(CMAKE_CXX_FLAGS "-std=c++11 -pthread")
 
+# Customize link option
+# -----------------------------
+list (APPEND link_libraries -pthread)
+
 # Print a helper message when every thing is finished
 # ----------------------------------------------------
 set(CLOSING_MESSAGE "Test with: afb-daemon --rootdir=\$\$(pwd)/package --binding=\$\$(pwd)/package/lib/afb-low-can.so --port=1234 --tracereq=common --token=\"1\" --verbose")