summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Degawa <ccom@randomderp.com>2021-06-08 22:13:48 -0500
committerChristopher Degawa <ccom@randomderp.com>2022-05-31 17:09:09 -0500
commit0d1b9bc4330701df42c6fa9e0b4f72fe74b25684 (patch)
tree01314e4f376f016a78aebdfd409a10f0e948130e
parent20ef48f05ac491f0d90128fbe3f316094bed25ae (diff)
downloadlibwebp-0d1b9bc4330701df42c6fa9e0b4f72fe74b25684.tar.gz
WEBP_DEP_LIBRARIES: use Threads::Threads
Signed-off-by: Christopher Degawa <ccom@randomderp.com> Change-Id: Icfec8fba117cbf5668c6f4c7d46d05cbb17e3dea
-rw-r--r--cmake/deps.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/deps.cmake b/cmake/deps.cmake
index 1f33b765..f79cdbb8 100644
--- a/cmake/deps.cmake
+++ b/cmake/deps.cmake
@@ -45,7 +45,7 @@ if(WEBP_USE_THREAD)
}
" FLAG_HAVE_PTHREAD_PRIO_INHERIT)
set(HAVE_PTHREAD_PRIO_INHERIT ${FLAG_HAVE_PTHREAD_PRIO_INHERIT})
- list(APPEND WEBP_DEP_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
+ list(APPEND WEBP_DEP_LIBRARIES Threads::Threads)
endif()
set(WEBP_USE_THREAD ${Threads_FOUND})
endif()