* adds third_party/libwebp and cmake option to enable building it. * disable simd and default disable pthreads for webgl builds. * ensure non-empty config var value * Added notes on libwebp change to NEW_RELEASE_NOTES.md * Update NEW_RELEASE_NOTES.md
20 lines
528 B
CMake
20 lines
528 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_and_check(WebP_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
|
|
set(WebP_INCLUDE_DIRS ${WebP_INCLUDE_DIR})
|
|
set(WEBP_INCLUDE_DIRS ${WebP_INCLUDE_DIR})
|
|
set(WebP_LIBRARIES "@INSTALLED_LIBRARIES@")
|
|
set(WEBP_LIBRARIES "${WebP_LIBRARIES}")
|
|
|
|
check_required_components(WebP)
|