summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-07-18 17:58:24 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-07-21 14:31:39 +0000
commit63461c4f0d06c25e94eeaea7adb85b5d94bb6e41 (patch)
tree7da2b1aef373ad1b18cfa60b94c22cf5e9086c8a /conf.d
parent944295b5af95fdcb1a33e2028ef709e7bf60cb6e (diff)
Change-Id: Ibca245fc8c6ec7c68d24b9c6e693156974f186ef Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> (cherry picked from commit 4a538f440d525a2d01bd892989998dbaf67e5af0)
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/cmake/config.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index 7b335e3..e9ab925 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -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")