From: APTX Date: Wed, 23 Feb 2022 11:50:01 +0000 (+0900) Subject: Workaround for configuring annotation plugin X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=080cb457d7fa6b3c2279784f24ae3da19a85a50a;p=aniplayer.git Workaround for configuring annotation plugin https://github.com/davisking/dlib/issues/2522 --- 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()