On Thu, Jan 3, 2013 at 11:53 AM, Kornel Benko <kor...@lyx.org> wrote: > Am Donnerstag, 3. Januar 2013 um 13:11:48, schrieb Kornel Benko > <kor...@lyx.org> > >> Hi, > >> if we compile with program suffix, the at least on cmake build > >> tex2lyx2.1 is not able to find lyx2.1. Instead, it is searching for > >> "lyx2.1.1" > >> > > > > The problem here is Package.cpp:348 > > abs_binary == "tex2lyx2.1" is a path which already ends with > 'string(PROGRAM_SUFFIX)' > > and the extracted extension is "1" > > The following search for lyx-executable uses this extension appending it > > to the search name in lyxBinaryPath() > > > > Of course, no such executable exists. > > > > Something like the attached works.
This works for me. Thanks, Scott