Lines 35-40
Link Here
|
35 |
if (NOT(WEBP_FOUND)) |
35 |
if (NOT(WEBP_FOUND)) |
36 |
# Older installations of libwebp do not install a pkgconfig file, so we fall |
36 |
# Older installations of libwebp do not install a pkgconfig file, so we fall |
37 |
# back to a manual search for a libwebp header file. |
37 |
# back to a manual search for a libwebp header file. |
|
|
38 |
include(CheckIncludeFiles) |
38 |
check_include_files("webp/decode.h" WEBP_FOUND_HEADER) |
39 |
check_include_files("webp/decode.h" WEBP_FOUND_HEADER) |
39 |
if (WEBP_FOUND_HEADER) |
40 |
if (WEBP_FOUND_HEADER) |
40 |
set(WEBP_LIBRARIES "-lwebp") |
41 |
set(WEBP_LIBRARIES "-lwebp") |