cmake: Fix finding libfdk header path
A generally accepted path for DepsPath or LibfdkPath is the parent directory that includes the 'bin' and 'include' directories. This fix ensures FindLibfdk.cmake acts like other cmake helper scripts. Closes obsproject/obs-studio#3474
This commit is contained in:
parent
638c5055e5
commit
f96b6dfeed
@ -32,7 +32,9 @@ find_path(Libfdk_INCLUDE_DIR
|
||||
${DepsPath}
|
||||
${_LIBFDK_INCLUDE_DIRS}
|
||||
PATHS
|
||||
/usr/include /usr/local/include /opt/local/include /sw/include)
|
||||
/usr/include /usr/local/include /opt/local/include /sw/include
|
||||
PATH_SUFFIXES
|
||||
include)
|
||||
|
||||
find_library(Libfdk_LIB
|
||||
NAMES ${_LIBFDK_LIBRARIES} fdk-aac libfdk-aac
|
||||
|
Loading…
x
Reference in New Issue
Block a user