Add pkg-config file for mmal

Also adds a pkg-config file for vcsm, which mmal depends upon for
zero copy buffers.
This commit is contained in:
Anthony Ryan
2017-02-04 21:42:25 -05:00
committed by popcornmix
parent d35be767ce
commit 4ae82611f3
3 changed files with 22 additions and 1 deletions

View File

@@ -122,7 +122,7 @@ include_directories("${PROJECT_BINARY_DIR}")
include(FindPkgConfig QUIET)
if(PKG_CONFIG_FOUND)
# Produce a pkg-config file
foreach(PCFILE bcm_host.pc egl.pc glesv2.pc vg.pc brcmegl.pc brcmglesv2.pc brcmvg.pc )
foreach(PCFILE bcm_host.pc egl.pc glesv2.pc vg.pc brcmegl.pc brcmglesv2.pc brcmvg.pc vcsm.pc mmal.pc )
configure_file("pkgconfig/${PCFILE}.in" "${PCFILE}" @ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PCFILE}"
DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")