Cmake build: Change the destination of fonts

Select the lyx-fonts-directory such that font-config can find the dat
This commit is contained in:
Kornel Benko 2020-06-11 19:06:21 +02:00
parent 6f6d985b9e
commit 76db479c07

View File

@ -68,7 +68,7 @@ function(get_font_destination _result)
set(_dir "${LYX_DATA_SUBDIR}fonts/")
elseif(UNIX)
# at least on ubuntu
set(_dir "share/${_lyx}/fonts/")
set(_dir "share/fonts/${_lyx}/")
else()
message(FATAL_ERROR "Unhandled platform")
endif()