CMake: cofigure failure (Windows)

Kornel Benko kornel at lyx.org
Mon Nov 16 22:01:38 UTC 2020


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.

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201116/bca9e5b1/attachment.asc>


More information about the lyx-devel mailing list