Commit 5b930a73 authored by Christophe Giboudeaux's avatar Christophe Giboudeaux
Browse files

Avoid issues if pkgconfig cannot find the libraries.

parent c1b2cb0c
......@@ -48,7 +48,7 @@
find_package(PkgConfig QUIET)
pkg_check_modules(PKG_Epoxy QUIET epoxy)
set(Epoxy_DEFINITIONS ${PKG_Epoxy_CFLAGS})
set(Epoxy_DEFINITIONS "${PKG_Epoxy_CFLAGS}")
find_path(Epoxy_INCLUDE_DIRS NAMES epoxy/gl.h HINTS ${PKG_Epoxy_INCLUDEDIR} ${PKG_Epoxy_INCLUDE_DIRS})
find_library(Epoxy_LIBRARIES NAMES epoxy HINTS ${PKG_Epoxy_LIBDIR} ${PKG_Epoxy_LIBRARIES_DIRS})
......
......@@ -62,8 +62,8 @@
find_package(PkgConfig QUIET)
pkg_check_modules(PKG_GBM QUIET gbm)
set(GBM_DEFINITIONS ${PKG_GBM_CFLAGS_OTHER})
set(GBM_VERSION ${PKG_GBM_VERSION})
set(GBM_DEFINITIONS "${PKG_GBM_CFLAGS_OTHER}")
set(GBM_VERSION "${PKG_GBM_VERSION}")
find_path(GBM_INCLUDE_DIRS
NAMES
......
......@@ -63,8 +63,8 @@
find_package(PkgConfig QUIET)
pkg_check_modules(PKG_PipeWire QUIET libpipewire-0.1)
set(PipeWire_DEFINITIONS ${PKG_PipeWire_CFLAGS_OTHER})
set(PipeWire_VERSION ${PKG_PipeWire_VERSION})
set(PipeWire_DEFINITIONS "${PKG_PipeWire_CFLAGS_OTHER}")
set(PipeWire_VERSION "${PKG_PipeWire_VERSION}")
find_path(PipeWire_INCLUDE_DIRS
NAMES
......
......@@ -64,8 +64,8 @@
find_package(PkgConfig QUIET)
pkg_check_modules(PKG_SPA QUIET libspa-0.1)
set(SPA_DEFINITIONS ${PKG_SPA_CFLAGS_OTHER})
set(SPA_VERSION ${PKG_SPA_VERSION})
set(SPA_DEFINITIONS "${PKG_SPA_CFLAGS_OTHER}")
set(SPA_VERSION "${PKG_SPA_VERSION}")
find_path(SPA_INCLUDE_DIRS
NAMES
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment