Am Mittwoch, 10. Mai 2017 um 01:16:31, schrieb Uwe Stöhr <uwesto...@web.de> > El 10.05.2017 a las 00:31, Kornel Benko escribió: > > >> LYX_CONSOLE:BOOL=ON > >> > >> But I explicitly set it to OFF, see the build5-2015.bat file in git master. > > > > You mean in 'install' case. If mode == 'devel', you set it to "ON". > > Yes. > However, I found now the real problem. whatever i execute in my batch > file is never executed because the path to CMake was never specified and > by default the patch to the cmake.exe is no longer set to the Windows > environment variable PATH. > I fixed this now but then I got the next problem I cannot solve: > > in my build script I have now > > set LYX_BUILD=D:\LyXGit\Master\compile-2015 > cmake %LYX_SOURCE% -G"Visual Studio 14 2015" -DCMAKE_PREFIX_PATH="test" > -DLYX_USE_QT=QT5 ... > > with this I get now in the CMakeCache.txt > > //Used Qt version > CMAKE_PREFIX_PATH:PATH=D:/LyXGit/Master/compile-2015/test > > instead of > > //Used Qt version > CMAKE_PREFIX_PATH:PATH=test > > So the bug is that CMAKE_PREFIX_PATH always starts with LYX_BUILD. But I > need an empty value.
Cmake specifies the variable by default to be empty. So I would omit the specification in the build script. What you probably want to set is CMAKE_SYSTEM_PREFIX_PATH (Path where the program qmake.exe (from QT5) will be found) > If you could fix this, I could replace "test" with the correct path to > Qt and finally got a running batch file. > > many thanks and regards > Uwe Kornel
signature.asc
Description: This is a digitally signed message part.