CMake: cofigure failure (Windows)
Yu Jin
yu_jin at lyx.org
Wed Nov 18 18:23:16 UTC 2020
Am Di., 17. Nov. 2020 um 21:51 Uhr schrieb Kornel Benko <kornel at lyx.org>:
> Am Tue, 17 Nov 2020 19:01:29 +0100
> schrieb Yu Jin <yu_jin at lyx.org>:
>
> > Am Mo., 16. Nov. 2020 um 23:01 Uhr schrieb Kornel Benko <kornel at lyx.org
> >:
> >
> > > Am Mon, 16 Nov 2020 22:16:22 +0100
> > > schrieb Yu Jin <yu_jin at lyx.org>:
> > > ...
> > > > >> In master it is called before the options,
> > > > >> while in branch it is called after the options specs.
> > > > >>
> > > > >
> > > > > Yeah, thought so. I tried to move it behind the options which end
> at
> > > line
> > > > > 250 something. But then I get this error instead:
> > > > >
> > > > > CMake Error at development/cmake/modules/FindQt4.cmake:1037
> (message):
> > > > > Qt qmake not found!
> > > > > Call Stack (most recent call first):
> > > > > CMakeLists.txt:813 (find_package)
> > > > >
> > > > > and GNUWIN32_DIR is not asked, I put:
> > > > >
> > > > > message(STATUS "GNUWIN32_DIR: ${GNUWIN32_DIR}")
> > > > >
> > > > > right after that include and it shows:
> > > > >
> > > > > GNUWIN32_DIR:
> > > > >
> > > > > so the variable is empty, but CMake doesn't output an error and it
> also
> > > > > doesn't show this variable in the GUI.
> > > > >
> > > > And then if I just ignore it and continue I get the Perl error from
> OP.
> > >
> > > Could you please play a little with FindGNUWIN32.cmake? It is already 9
> > > years
> > > old, so it may be ready for some polishing.
> > >
> >
> > Sure, I did that, looks fine though... I found a way to fix this anyway,
> > patch attached, let me know if I can commit.
>
> Tested on linux. The created CMakeCache.txt's are identical (with and
> without the patch).
> If that works on Windows, please commit.
>
Done. Thank you for guidance.
--
Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201118/02887b62/attachment.html>
More information about the lyx-devel
mailing list