Cmake build: Amend a9afdbb7 and 46fca4dc

Partly revert installing fonds in system dir, not needed after
a9afdbb7 (Personalize fonts)
This commit is contained in:
Kornel Benko 2020-09-03 18:27:12 +02:00
parent a9afdbb73c
commit 838853f99e

View File

@ -70,7 +70,7 @@ function(get_font_destination _result)
# at least on ubuntu
# ${LYX_DATA_SUBDIR}: Satisfy lyx because GuiFontLoader.cpp searches there
# share/fonts: because math-editor uses system font
set(_dir "${LYX_DATA_SUBDIR}fonts/" "share/fonts/${_lyx}/")
set(_dir "${LYX_DATA_SUBDIR}fonts/")
else()
message(FATAL_ERROR "Unhandled platform")
endif()