CMake install path for dtl

Yu Jin technikmagma at gmail.com
Mon Apr 13 19:57:00 UTC 2020


Am Mo., 13. Apr. 2020 um 20:12 Uhr schrieb Kornel Benko <kornel at lyx.org>:

> Am Mon, 13 Apr 2020 19:38:52 +0200
> schrieb Kornel Benko <kornel at lyx.org>:
> > 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.
>
Returns:

CMAKE_INSTALL_PREFIX LYX_INSTALLED

dest_data Resources/

seems right, LYX_INSTALLED (${CMAKE_INSTALL_PREFIX}) is taken as base for
install commands, so we actually have to install to just
Ressources/extratools.

> On linux following works too:
>         install(TARGETS ${targets} DESTINATION ${dest_data}/extratools")
>
this works for me (but I think you forgot a quote before
${dest_data}/extratools").

Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200413/2de04119/attachment.html>


More information about the lyx-devel mailing list