summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorBen Morss <morss@google.com>2021-02-26 12:47:07 -0500
committerMike Frysinger <vapier@gentoo.org>2021-02-26 12:48:15 -0500
commitd6a061850d40110a98364766f654030f929ec0ed (patch)
treea765091a522d9ae18bd0b45247e760cf926bf9ef /cmake
parentd6e3413f7f51088ecf8069144f3dad8dce1c8953 (diff)
downloadlibgd-d6a061850d40110a98364766f654030f929ec0ed.tar.gz
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.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindWEBP.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindWEBP.cmake b/cmake/modules/FindWEBP.cmake
index 1fc8bf8..cc93552 100644
--- a/cmake/modules/FindWEBP.cmake
+++ b/cmake/modules/FindWEBP.cmake
@@ -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)