mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Cmake build: Use the same destination for lyx-tex-files as in automake
This commit is contained in:
parent
271cea8665
commit
12a2565b97
@ -80,10 +80,10 @@ function(get_tex_destination _result)
|
|||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(_dir "${LYX_DATA_SUBDIR}tex/")
|
set(_dir "${LYX_DATA_SUBDIR}tex/")
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
# "Contents/Resources/tex/"
|
# "Contents/Resources/tex/"
|
||||||
set(_dir "${LYX_DATA_SUBDIR}tex/")
|
set(_dir "${LYX_DATA_SUBDIR}tex/")
|
||||||
elseif(UNIX)
|
elseif(UNIX)
|
||||||
set(_dir "share/texmf/tex/latex/${_lyx}/")
|
set(_dir "${LYX_DATA_SUBDIR}tex/")
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "Unhandled platform")
|
message(FATAL_ERROR "Unhandled platform")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user