mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
WEBP_DEP_LIBRARIES: use Threads::Threads
Signed-off-by: Christopher Degawa <ccom@randomderp.com> Change-Id: Icfec8fba117cbf5668c6f4c7d46d05cbb17e3dea
This commit is contained in:
parent
20ef48f05a
commit
0d1b9bc433
@ -45,7 +45,7 @@ if(WEBP_USE_THREAD)
|
|||||||
}
|
}
|
||||||
" FLAG_HAVE_PTHREAD_PRIO_INHERIT)
|
" FLAG_HAVE_PTHREAD_PRIO_INHERIT)
|
||||||
set(HAVE_PTHREAD_PRIO_INHERIT ${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()
|
endif()
|
||||||
set(WEBP_USE_THREAD ${Threads_FOUND})
|
set(WEBP_USE_THREAD ${Threads_FOUND})
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user