Am Mon, 13 Apr 2020 19:38:52 +0200
schrieb Kornel Benko <kor...@lyx.org>:

> Am Mon, 13 Apr 2020 19:13:55 +0200
> schrieb Yu Jin <technikma...@gmail.com>:
> 
> > For me on windows when I build INSTALL target, the newly added dtl
> > executables get copied to
> > C:\lyx\masterbuild32\LYX_INSTALLED\LYX_INSTALLED\Resources\extratools.
> > LYX_INSTALLED is doubled. As far as I can see its in this line
> > (C:\lyx\master\3rdparty\dtl\CMakeLists.txt):
> > install(TARGETS ${targets} DESTINATION
> > "${CMAKE_INSTALL_PREFIX}/${dest_data}/extratools")
> > for me when I use install command, it installs to CMAKE_INSTALL_PREFIX
> > already without the need to put it again into the destination string. I
> > dont know how it is on other platforms though, so I dont know what to do
> > about this.
> > 
> > Eugene  
> 
> You could protokoll (in the CMakeLists.txt)
>       message(STATUS "CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}")
>       message(STATUS "dest_data ${dest_data}")
> so we could start searching.
> 
>       Kornel

On linux following works too:
        install(TARGETS ${targets} DESTINATION ${dest_data}/extratools")

        Kornel

Attachment: pgpEsXNJybluW.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to