mirror of https://github.com/procxx/kepka.git
Fix error in pkg-config invocation
This commit is contained in:
parent
d47854d9ed
commit
7bf02f5bad
|
@ -71,16 +71,16 @@ macro(find_component _component _pkgconfig _library _header)
|
||||||
|
|
||||||
find_path(${_component}_INCLUDE_DIRS ${_header}
|
find_path(${_component}_INCLUDE_DIRS ${_header}
|
||||||
HINTS
|
HINTS
|
||||||
${PC_LIB${_component}_INCLUDEDIR}
|
${PC_${_component}_INCLUDEDIR}
|
||||||
${PC_LIB${_component}_INCLUDE_DIRS}
|
${PC_${_component}_INCLUDE_DIRS}
|
||||||
PATH_SUFFIXES
|
PATH_SUFFIXES
|
||||||
ffmpeg
|
ffmpeg
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(${_component}_LIBRARIES NAMES ${_library}
|
find_library(${_component}_LIBRARIES NAMES ${_library}
|
||||||
HINTS
|
HINTS
|
||||||
${PC_LIB${_component}_LIBDIR}
|
${PC_${_component}_LIBDIR}
|
||||||
${PC_LIB${_component}_LIBRARY_DIRS}
|
${PC_${_component}_LIBRARY_DIRS}
|
||||||
)
|
)
|
||||||
|
|
||||||
set(${_component}_DEFINITIONS ${PC_${_component}_CFLAGS_OTHER} CACHE STRING "The ${_component} CFLAGS.")
|
set(${_component}_DEFINITIONS ${PC_${_component}_CFLAGS_OTHER} CACHE STRING "The ${_component} CFLAGS.")
|
||||||
|
|
Loading…
Reference in New Issue