Add more search directories for cmake modules
I actually did this because it makes it a bit easier to use with a build from cross-compiled windows FFMpeg/x264 DLLs. When compiling on linux I just have it compile to a custom prefix directory for the specific windows arch, then I just copy the arch dir back to my windows HD when complete. Adding this to the cmake allows me to use the compile arch directories directly without modification.
This commit is contained in:
@@ -58,6 +58,10 @@ find_library(FREETYPE_LIB
|
||||
"${FREETYPE_INCLUDE_DIR_ft2build}/../lib"
|
||||
"${FREETYPE_INCLUDE_DIR_ft2build}/lib${_lib_suffix}"
|
||||
"${FREETYPE_INCLUDE_DIR_ft2build}/lib"
|
||||
"${FREETYPE_INCLUDE_DIR_ft2build}/bin"
|
||||
"${FREETYPE_INCLUDE_DIR_ft2build}/bin${_lib_suffix}"
|
||||
"${FREETYPE_INCLUDE_DIR_ft2build}/../bin"
|
||||
"${FREETYPE_INCLUDE_DIR_ft2build}/../bin${_lib_suffix}"
|
||||
ENV FREETYPE_DIR
|
||||
PATHS
|
||||
/usr/lib /usr/local/lib /opt/local/lib /sw/lib
|
||||
|
Reference in New Issue
Block a user