Skip to content

Commit

Permalink
Ignore homebrew paths for WebP search
Browse files Browse the repository at this point in the history
  • Loading branch information
ihnorton committed May 22, 2023
1 parent 78aca70 commit 1e1fba9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/Modules/FindWebp_EP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
include(TileDBCommon)

if (TILEDB_WEBP_EP_BUILT)
find_package(WebP REQUIRED PATHS ${TILEDB_EP_INSTALL_PREFIX} ${TILEDB_DEPS_NO_DEFAULT_PATH})
# If we *know* we built as EP, use NO_DEFAULT_PATH unconditionally
find_package(WebP REQUIRED PATHS ${TILEDB_EP_INSTALL_PREFIX} NO_DEFAULT_PATH)
endif()

# if not yet built add it as an external project
Expand Down

0 comments on commit 1e1fba9

Please sign in to comment.