mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
5dbc4bfa1b
when WEBP_USE_THREAD=1; this is necessary after:
0d1b9bc4
WEBP_DEP_LIBRARIES: use Threads::Threads
fixes:
CMake Error at WebPTargets.cmake:76 (set_target_properties):
The link interface of target "WebP::webp" contains:
Threads::Threads
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Bug: webp:583
Change-Id: I19633bcceccacb95be06aa9610512127f3c288a6
Fixed: webp:583
17 lines
442 B
CMake
17 lines
442 B
CMake
set(WebP_VERSION @PROJECT_VERSION@)
|
|
set(WEBP_VERSION ${WebP_VERSION})
|
|
|
|
@PACKAGE_INIT@
|
|
|
|
if(@WEBP_USE_THREAD@)
|
|
include(CMakeFindDependencyMacro)
|
|
find_dependency(Threads REQUIRED)
|
|
endif()
|
|
|
|
include ("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
|
|
|
set(WebP_INCLUDE_DIRS "@CMAKE_INSTALL_FULL_INCLUDEDIR@")
|
|
set(WEBP_INCLUDE_DIRS ${WebP_INCLUDE_DIRS})
|
|
set(WebP_LIBRARIES "@INSTALLED_LIBRARIES@")
|
|
set(WEBP_LIBRARIES "${WebP_LIBRARIES}")
|