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:
jp9000
2015-06-30 10:05:20 -07:00
parent 82471d7539
commit 6f2587d21a
5 changed files with 30 additions and 0 deletions

View File

@@ -21,6 +21,12 @@ find_path(Jansson_INCLUDE_DIR
HINTS
ENV JanssonPath${_lib_suffix}
ENV JanssonPath
ENV DepsPath${_lib_suffix}
ENV DepsPath
${JanssonPath${lib_suffix}}
${JanssonPath}
${DepsPath${lib_suffix}}
${DepsPath}
${_JANSSON_INCLUDE_DIRS}
PATHS
/usr/include /usr/local/include /opt/local/include /sw/include)