summaryrefslogtreecommitdiffstats
path: root/ll-auth-binding/conf.d/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'll-auth-binding/conf.d/cmake')
-rw-r--r--ll-auth-binding/conf.d/cmake/config.cmake5
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()