[LyX/master] Cmake build: Use the fonts dir which is also expected by GuiFontLoader.cpp

Kornel Benko kornel at lyx.org
Thu Aug 27 16:40:39 UTC 2020


commit 0eb258981868c9e5cc80e766b3fb71b743041438
Author: Kornel Benko <kornel at lyx.org>
Date:   Thu Aug 27 19:05:52 2020 +0200

    Cmake build: Use the fonts dir which is also expected by GuiFontLoader.cpp
---
 development/cmake/modules/LyXDestinations.cmake |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/development/cmake/modules/LyXDestinations.cmake b/development/cmake/modules/LyXDestinations.cmake
index 37b764d..b202271 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()


More information about the lyx-cvs mailing list