fix link option 29/10229/1
authorRonan Le Martret <ronan.lemartret@iot.bzh>
Tue, 18 Jul 2017 15:58:24 +0000 (17:58 +0200)
committerRonan Le Martret <ronan.lemartret@iot.bzh>
Tue, 18 Jul 2017 15:58:24 +0000 (17:58 +0200)
Change-Id: Ibca245fc8c6ec7c68d24b9c6e693156974f186ef
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
conf.d/cmake/config.cmake

index 05f8468..2087994 100644 (file)
@@ -73,6 +73,10 @@ add_compile_options(-DPB_FIELD_16BIT)
 add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-std=c++11>)
 add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-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")