commit 12a2565b9796047e34f550d53d8931466ad6ea2c
Author: Kornel Benko <[email protected]>
Date:   Fri Jul 14 11:24:20 2017 +0200

    Cmake build: Use the same destination for lyx-tex-files as in automake
---
 development/cmake/modules/LyXDestinations.cmake |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/development/cmake/modules/LyXDestinations.cmake 
b/development/cmake/modules/LyXDestinations.cmake
index 1736ac2..512fca0 100644
--- a/development/cmake/modules/LyXDestinations.cmake
+++ b/development/cmake/modules/LyXDestinations.cmake
@@ -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()

Reply via email to