[LyX/master] Cmake build: Amend a9afdbb7 and 46fca4dc

Kornel Benko kornel at lyx.org
Thu Sep 3 16:03:04 UTC 2020


commit 838853f99ebb835f968c8fbc955130286d11c499
Author: Kornel Benko <kornel at lyx.org>
Date:   Thu Sep 3 18:27:12 2020 +0200

    Cmake build: Amend a9afdbb7 and 46fca4dc
    
    Partly revert installing fonds in system dir, not needed after
    a9afdbb7 (Personalize fonts)
---
 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 87de7a9..a9e59aa 100644
--- a/development/cmake/modules/LyXDestinations.cmake
+++ b/development/cmake/modules/LyXDestinations.cmake
@@ -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()


More information about the lyx-cvs mailing list