metainfo wrong target dir?
Kornel Benko
kornel at lyx.org
Thu May 16 09:34:48 UTC 2024
Am Wed, 15 May 2024 17:00:28 +0200
schrieb Yu Jin <technikmagma at 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
-------------- 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/20240516/0d814177/attachment.asc>
More information about the lyx-devel
mailing list