tomato/external/libwebp/CMakeLists.txt

17 lines
359 B
CMake
Raw Normal View History

2023-08-02 15:06:19 +02:00
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
include(FetchContent)
2023-08-02 15:06:19 +02:00
if (NOT TARGET libwebp)
set(WEBP_LINK_STATIC ON CACHE INTERNAL "")
FetchContent_Declare(libwebp
GIT_REPOSITORY https://github.com/webmproject/libwebp
GIT_TAG v1.3.2
FIND_PACKAGE_ARGS
)
FetchContent_MakeAvailable(libwebp)
endif()
#add_subdirectory(./libwebp EXCLUDE_FROM_ALL)
2023-08-02 15:06:19 +02:00