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.
This commit is contained in:
Kornel Benko 2020-04-13 22:18:47 +02:00
parent 4b052dec77
commit 66142c7d08

View File

@ -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)