cmake: webp: remove implicit lib search relative to gd checkout

If the builder has packages in a diff location, they can specify them
globally.  The webp code shouldn't be searching for it specifically.
master
Ben Morss 2021-02-26 12:47:07 -05:00 committed by Mike Frysinger
parent d6e3413f7f
commit d6a061850d
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ find_path(WEBP_INCLUDE_DIR decode.h
set(WEBP_NAMES ${WEBP_NAMES} webp)
find_library(WEBP_LIBRARY
NAMES ${WEBP_NAMES}
PATHS "${PROJECT_SOURCE_DIR}/../deps/lib" /usr/lib64 /usr/lib /usr/local/lib
PATHS /usr/lib64 /usr/lib /usr/local/lib
)
if (WEBP_LIBRARY AND WEBP_INCLUDE_DIR)