UI: Allow cmake vars for deps and add DepsPath var
Allow cmake variables to be used to specify include directories, and allow DepsPath or DepsPath32/64 to be used to specify dependency locations.
This commit is contained in:
@@ -22,6 +22,12 @@ find_path(FREETYPE_INCLUDE_DIR_ft2build
|
||||
ENV FreetypePath${_lib_suffix}
|
||||
ENV FreetypePath
|
||||
ENV FREETYPE_DIR
|
||||
ENV DepsPath${_lib_suffix}
|
||||
ENV DepsPath
|
||||
${FreetypePath${lib_suffix}}
|
||||
${FreetypePath}
|
||||
${DepsPath${lib_suffix}}
|
||||
${DepsPath}
|
||||
${_FREETYPE_INCLUDE_DIRS}
|
||||
PATHS
|
||||
/usr/include /usr/local/include /opt/local/include /sw/include
|
||||
|
Reference in New Issue
Block a user