From: Kornel Benko Date: Mon, 13 Apr 2020 20:18:47 +0000 (+0200) Subject: Amend(2) 4b052dec: Do not use CMAKE_INSTALL_PREFIX X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c223df8de39ad273b3232a6016d77d52fffef9c0;p=features.git Amend(2) 4b052dec: Do not use CMAKE_INSTALL_PREFIX On Windows this leads to duplicated use of 'LYX_INSTALLED' in the installed paths. Spotted by Eugene. --- diff --git a/3rdparty/dtl/CMakeLists.txt b/3rdparty/dtl/CMakeLists.txt index 3b31972b67..58354958e9 100644 --- a/3rdparty/dtl/CMakeLists.txt +++ b/3rdparty/dtl/CMakeLists.txt @@ -35,5 +35,5 @@ endforeach() # Install dtl tools in this directory to omit possible packaging conflicts # if installing multiple lyx versions, each with own dtl executables get_data_destination(dest_data) -install(TARGETS ${targets} DESTINATION "${CMAKE_INSTALL_PREFIX}/${dest_data}/extratools") +install(TARGETS ${targets} DESTINATION "${dest_data}/extratools") install(FILES ${_manuals} DESTINATION ${LYX_MAN_DIR}/man1)