From 080cb457d7fa6b3c2279784f24ae3da19a85a50a Mon Sep 17 00:00:00 2001 From: APTX Date: Wed, 23 Feb 2022 20:50:01 +0900 Subject: [PATCH] Workaround for configuring annotation plugin https://github.com/davisking/dlib/issues/2522 --- featureplugins/feature_annotations/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/featureplugins/feature_annotations/CMakeLists.txt b/featureplugins/feature_annotations/CMakeLists.txt index cb2db02..a55d4dc 100644 --- a/featureplugins/feature_annotations/CMakeLists.txt +++ b/featureplugins/feature_annotations/CMakeLists.txt @@ -12,6 +12,8 @@ find_package(dlib CONFIG REQUIRED) if(USE_SHARED_DLIB) set(DLIB_LIBRARY_NAME "dlib::dlib_shared") else() + # Dlib transitive dependency workaround + find_package(Threads) set(DLIB_LIBRARY_NAME "dlib::dlib") endif() -- 2.52.0