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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user