diff options
author | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2017-07-18 17:58:24 +0200 |
---|---|---|
committer | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2017-07-18 17:58:24 +0200 |
commit | 4a538f440d525a2d01bd892989998dbaf67e5af0 (patch) | |
tree | c32a370623a949df6c924413106698733aa26eb4 /conf.d/cmake | |
parent | 68893af454f87fdbff3138dd9a87d5f5008021f8 (diff) |
fix link option
Change-Id: Ibca245fc8c6ec7c68d24b9c6e693156974f186ef
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'conf.d/cmake')
-rw-r--r-- | conf.d/cmake/config.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake index 05f8468..2087994 100644 --- a/conf.d/cmake/config.cmake +++ b/conf.d/cmake/config.cmake @@ -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") |