From 0eb258981868c9e5cc80e766b3fb71b743041438 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Thu, 27 Aug 2020 19:05:52 +0200 Subject: [PATCH] Cmake build: Use the fonts dir which is also expected by GuiFontLoader.cpp --- development/cmake/modules/LyXDestinations.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/cmake/modules/LyXDestinations.cmake b/development/cmake/modules/LyXDestinations.cmake index 37b764dce4..b202271bd4 100644 --- a/development/cmake/modules/LyXDestinations.cmake +++ b/development/cmake/modules/LyXDestinations.cmake @@ -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()