Cmake build: Use the fonts dir which is also expected by GuiFontLoader.cpp

This commit is contained in:
Kornel Benko 2020-08-27 19:05:52 +02:00
parent 4fdcf0e929
commit 0eb2589818

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/fonts/${_lyx}/")
set(_dir "${LYX_DATA_SUBDIR}fonts/")
else()
message(FATAL_ERROR "Unhandled platform")
endif()