Am Mon, 16 Nov 2020 22:16:22 +0100 schrieb Yu Jin <yu_...@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
pgpt4RgA3fRnq.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel