From: Kornel Benko Date: Mon, 13 Apr 2020 10:51:04 +0000 (+0200) Subject: Prepend dir containing created dtl executables to PATH X-Git-Tag: lyx-2.4.0dev-acb2ca7b~1013 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ef42541d26;p=features.git Prepend dir containing created dtl executables to PATH This should work on Windows, but needs test. The changes (namely the installation directory for the dtl executables) for automake are not yet done. (JMarc?) It may fix bug #11325 if cmake configured with '-DLYX_EXTERNAL_DTL=OFF' --- diff --git a/src/support/environment.cpp b/src/support/environment.cpp index e39fd3449e..246e6afce2 100644 --- a/src/support/environment.cpp +++ b/src/support/environment.cpp @@ -17,6 +17,7 @@ #include "support/docstring.h" #include "support/lstrings.h" #include "support/os.h" +#include "support/debug.h" #include // for remove #include @@ -107,6 +108,7 @@ void prependEnvPath(string const & name, string const & prefix) // Prepend each new element to the list, removing identical elements // that occur later in the list. + LYXERR(Debug::INIT, "Prepending \"" << prefix << "\" to PATH"); typedef vector::const_reverse_iterator token_iterator; token_iterator it = reversed_tokens.rbegin(); token_iterator const end = reversed_tokens.rend();