]> git.lyx.org Git - features.git/commitdiff
Cmake build: Amend a9afdbb7 and 46fca4dc
authorKornel Benko <kornel@lyx.org>
Thu, 3 Sep 2020 16:27:12 +0000 (18:27 +0200)
committerKornel Benko <kornel@lyx.org>
Thu, 3 Sep 2020 16:27:12 +0000 (18:27 +0200)
Partly revert installing fonds in system dir, not needed after
a9afdbb7 (Personalize fonts)

development/cmake/modules/LyXDestinations.cmake

index 87de7a9c6aaae25d40ac3e4f64d912b8912a8fe6..a9e59aa725f2d7b1a78c45d8c189a2b641957dc4 100644 (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()