Commit 2f6ba6f5 authored by Milan Crha's avatar Milan Crha

Include also environment LD_LIBRARY_PATH in gtk-doc-scangobj call

Thus it can be used to influence where the needed libraries are
looked for from the outside.
parent 1f89fe1c
......@@ -133,7 +133,7 @@ macro(add_gtkdoc _module _namespace _deprecated_guards _srcdirsvar _depsvar _ign
endif(TARGET ${opt})
endforeach(opt)
set(_scangobj_prefix ${CMAKE_COMMAND} -E env LD_LIBRARY_PATH="${_scangobj_ld_lib_dirs}:${LIB_INSTALL_DIR}")
set(_scangobj_prefix ${CMAKE_COMMAND} -E env LD_LIBRARY_PATH="${_scangobj_ld_lib_dirs}:${LIB_INSTALL_DIR}:$ENV{LD_LIBRARY_PATH}")
if(NOT (_scangobj_cflags STREQUAL ""))
set(_scangobj_cflags --cflags "${_scangobj_cflags}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment