CMake: cofigure failure (Windows)

Yu Jin yu_jin at lyx.org
Tue Nov 17 18:01:29 UTC 2020


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.
-- 
    Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201117/7b13398e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file.diff
Type: application/octet-stream
Size: 2188 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201117/7b13398e/attachment.obj>


More information about the lyx-devel mailing list