mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Cmake build: Install lyx-provided fonts to where GuiFontLoader.cpp expects them
This commit is contained in:
parent
56f11bf5fd
commit
e23e65a973
@ -14,7 +14,7 @@ endif()
|
||||
# Here we try to exclude files which we do not want to install
|
||||
# Depending on _what, installation on UNIX goes to
|
||||
# data -> ${LYX_DATA_SUBDIR}
|
||||
# font -> share/fonts/truetype/${_lyx}/
|
||||
# font -> share/${_lyx}/fonts/
|
||||
# bin -> bin
|
||||
# tex -> share/texmf/tex/latex/${_lyx}/
|
||||
macro(lyx_install _what _parent_src_dir _gl_dir _file_type)
|
||||
|
@ -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/truetype/${_lyx}/")
|
||||
set(_dir "share/${_lyx}/fonts/")
|
||||
else()
|
||||
message(FATAL_ERROR "Unhandled platform")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user