mirror of
https://github.com/decaf-emu/decaf-emu.git
synced 2024-06-16 03:17:10 -04:00
cmake: Add hint for ffmpeg headers on Linux
Apparently some distros put it here instead - maybe this should use pkg-config...
This commit is contained in:
parent
b12218a0a9
commit
8773910033
|
@ -1,5 +1,5 @@
|
|||
macro(find_component COMPONENT LIBRARY HEADER)
|
||||
find_path(${COMPONENT}_INCLUDE_DIR NAMES "${HEADER}")
|
||||
find_path(${COMPONENT}_INCLUDE_DIR NAMES "${HEADER}" HINTS "/usr/include/ffmpeg")
|
||||
find_library(${COMPONENT}_LIBRARY NAMES "${LIBRARY}")
|
||||
|
||||
if(${COMPONENT}_INCLUDE_DIR AND ${COMPONENT}_LIBRARY)
|
||||
|
|
Loading…
Reference in a new issue