]> git.lyx.org Git - features.git/commitdiff
Cmake build: Use the fonts dir which is also expected by GuiFontLoader.cpp
authorKornel Benko <kornel@lyx.org>
Thu, 27 Aug 2020 17:05:52 +0000 (19:05 +0200)
committerKornel Benko <kornel@lyx.org>
Thu, 27 Aug 2020 17:05:52 +0000 (19:05 +0200)
development/cmake/modules/LyXDestinations.cmake

index 37b764dce42b95e64fa03a0dd9fc0e628583aa54..b202271bd486a465f055e45323ca8b092c7ce369 100644 (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()