Cmake build: Use the same destination for lyx-tex-files as in automake

This commit is contained in:
Kornel Benko 2017-07-14 11:24:20 +02:00
parent 271cea8665
commit 12a2565b97

View File

@ -80,10 +80,10 @@ function(get_tex_destination _result)
if(WIN32)
set(_dir "${LYX_DATA_SUBDIR}tex/")
elseif(APPLE)
# "Contents/Resources/tex/"
# "Contents/Resources/tex/"
set(_dir "${LYX_DATA_SUBDIR}tex/")
elseif(UNIX)
set(_dir "share/texmf/tex/latex/${_lyx}/")
set(_dir "${LYX_DATA_SUBDIR}tex/")
else()
message(FATAL_ERROR "Unhandled platform")
endif()