Am Wed, 15 May 2024 17:00:28 +0200 schrieb Yu Jin <technikma...@gmail.com>:
> Am Di., 14. Mai 2024 um 20:21 Uhr schrieb Pavel Sanda: > > > On Tue, May 14, 2024 at 06:16:49PM +0200, Yu Jin wrote: > > > Why does it try to install that file into my Program Files dir and not > > into > > > CMAKE_INSTALL_PREFIX? > > > > I do not know, but this file is part of linux infrastructure and can be > > dropped > > completely from windows. > > > Strange thing is that the cmake_install.cmake file contains the code part > sent by me earlier only on the first CMake configure run into an empty > directory. When I reconfigure the code part is not present anymore and I > don't get the error message. So how to fix it? Looks like CMAKE_INSTALL_PREFIX is used (from cmake default) before set by CMakeLists.txt. On second run the correct value is used from cache. I don't see it in linux though. You could check the value at CMakeLists.txt:575 (after being set on line 573). message(STATUS "CMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}") Kornel
pgpZ_qhvcT87f.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel