diff options
author | Loïc Collignon <loic.collignon@iot.bzh> | 2017-07-31 18:14:46 +0200 |
---|---|---|
committer | Loïc Collignon <loic.collignon@iot.bzh> | 2017-07-31 18:14:46 +0200 |
commit | e043fd27f0be97ce06a7eced3c2a9740fb9d0493 (patch) | |
tree | b4ef84e5d36cd6710c61b13e68a55684fd70f848 /ll-auth-binding/conf.d | |
parent | 55de83c544b3066ff883886c837df87d8291f298 (diff) |
use libudev instead of a udev rule and a script.
Change-Id: Id19f4cd48d525621adc9ded9fc9e08d856dc08a5
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'll-auth-binding/conf.d')
-rw-r--r-- | ll-auth-binding/conf.d/cmake/config.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ll-auth-binding/conf.d/cmake/config.cmake b/ll-auth-binding/conf.d/cmake/config.cmake index f46ce4c..d4c141b 100644 --- a/ll-auth-binding/conf.d/cmake/config.cmake +++ b/ll-auth-binding/conf.d/cmake/config.cmake @@ -64,8 +64,13 @@ set (PKG_REQUIRED_LIST libsystemd>=222 afb-daemon libmicrohttpd>=0.9.55 + libudev ) +set(CMAKE_THREAD_PREFER_PTHREAD TRUE) +set(THREADS_PREFER_PTHREAD_FLAG TRUE) +find_package(Threads REQUIRED) + # Static constante definition # ----------------------------- add_compile_options() |