mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Cmake build: Set LYX_DATA_SUBDIR in cache unconditionaly
The value is wrong if CMakeCache.txt already exists and the version is changed inside configure.ac in AC_INIT()
This commit is contained in:
parent
05bb851adf
commit
6670870aa3
@ -580,13 +580,11 @@ endif()
|
||||
|
||||
|
||||
|
||||
if(NOT LYX_DATA_SUBDIR)
|
||||
if (WIN32)
|
||||
set(LYX_DATA_SUBDIR "Resources/" CACHE STRING "Subdirectory for all lyx-system-data" FORCE)
|
||||
else()
|
||||
set(LYX_DATA_SUBDIR "share/${_lyx}/" CACHE STRING "Subdirectory for all lyx-system-data" FORCE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(LYX_ABS_INSTALLED_DATADIR "${CMAKE_INSTALL_PREFIX}/${LYX_DATA_SUBDIR}")
|
||||
get_locale_destination(LYX_LOCALEDIR)
|
||||
|
Loading…
Reference in New Issue
Block a user