]> git.lyx.org Git - features.git/commitdiff
Amend(2) 4b052dec: Do not use CMAKE_INSTALL_PREFIX
authorKornel Benko <kornel@lyx.org>
Mon, 13 Apr 2020 20:18:47 +0000 (22:18 +0200)
committerKornel Benko <kornel@lyx.org>
Mon, 13 Apr 2020 20:18:47 +0000 (22:18 +0200)
On Windows this leads to duplicated use of 'LYX_INSTALLED' in the installed paths.
Spotted by Eugene.

3rdparty/dtl/CMakeLists.txt

index 3b31972b67a8ede408f7366e200deeeb318ddadb..58354958e9edf1cc77db484c16b70aab217c0768 100644 (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)