Skip to content

Commit

Permalink
Switch to wpe-1.0 as dependency for libwpe
Browse files Browse the repository at this point in the history
Release 1.2 of libwpe will have API 1.0, so change the requirement
accordingly.
  • Loading branch information
aperezdc committed Mar 14, 2019
1 parent 702c1a0 commit 788f2ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmake/FindWPE.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

find_package(PkgConfig)
pkg_check_modules(PC_WPE QUIET wpe-0.2)
pkg_check_modules(PC_WPE QUIET wpe-1.0)

find_path(WPE_INCLUDE_DIRS
NAMES wpe/wpe.h
HINTS ${PC_WPE_INCLUDEDIR} ${PC_WPE_INCLUDE_DIRS}
)

find_library(WPE_LIBRARIES
NAMES wpe-0.2
NAMES wpe-1.0
HINTS ${PC_WPE_LIBDIR} ${PC_WPE_LIBRARY_DIRS}
)

Expand Down
2 changes: 1 addition & 1 deletion wpebackend-fdo.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ libdir=${exec_prefix}/lib
Name: wpebackend-fdo-@WPEBACKEND_FDO_API_VERSION@
Description: The WPEBackend-fdo library
Version: @PROJECT_VERSION@
Requires: wpe-0.2
Requires: wpe-1.0
Cflags: -I${includedir}/wpe-fdo-@WPEBACKEND_FDO_API_VERSION@
Libs: -L${libdir} -lWPEBackend-fdo-@WPEBACKEND_FDO_API_VERSION@

0 comments on commit 788f2ee

Please sign in to comment.