Cmake build: Fix use of LYX_ABS_INSTALLED_DATADIR

(Wrong display at configuration time. Also wrong value in created config.h)
This commit is contained in:
Kornel Benko 2020-04-14 19:59:41 +02:00
parent 543038e64e
commit dd154a5837
2 changed files with 2 additions and 2 deletions

View File

@ -575,7 +575,7 @@ if(NOT LYX_DATA_SUBDIR)
endif() endif()
endif() endif()
set(LYX_ABS_INSTALLED_DATADIR "${CMAKE_INSTALL_PREFIX}") set(LYX_ABS_INSTALLED_DATADIR "${CMAKE_INSTALL_PREFIX}/${LYX_DATA_SUBDIR}")
get_locale_destination(LYX_LOCALEDIR) get_locale_destination(LYX_LOCALEDIR)
set(LYX_ABS_INSTALLED_LOCALEDIR "${CMAKE_INSTALL_PREFIX}/${LYX_LOCALEDIR}") set(LYX_ABS_INSTALLED_LOCALEDIR "${CMAKE_INSTALL_PREFIX}/${LYX_LOCALEDIR}")
set(LYX_ABS_TOP_SRCDIR "${TOP_SRC_DIR}") set(LYX_ABS_TOP_SRCDIR "${TOP_SRC_DIR}")

View File

@ -12,5 +12,5 @@
Format 25 Format 25
\texinputs_prefix ".:@LYX_ABS_INSTALLED_DATADIR@/@LYX_DATA_SUBDIR@tex" \texinputs_prefix ".:@LYX_ABS_INSTALLED_DATADIR@tex"