mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Cmake build: Install subscript.sty only for WIN32 (using MikTeX)
This commit is contained in:
parent
1391e3189a
commit
6011d6cdca
@ -69,6 +69,10 @@ macro(lyx_install _what _parent_src_dir _gl_dir _file_type)
|
|||||||
list(REMOVE_ITEM files_list "${_current_dir}/lyx.svg")
|
list(REMOVE_ITEM files_list "${_current_dir}/lyx.svg")
|
||||||
list(REMOVE_ITEM files_list "${_current_dir}/Makefile.am")
|
list(REMOVE_ITEM files_list "${_current_dir}/Makefile.am")
|
||||||
list(REMOVE_ITEM files_list "${_current_dir}/layouttranslations")
|
list(REMOVE_ITEM files_list "${_current_dir}/layouttranslations")
|
||||||
|
if (NOT WIN32)
|
||||||
|
# subscript.sty is installed only for MikTeX since it is part of texlive
|
||||||
|
list(REMOVE_ITEM files_list "${_current_dir}/subscript.sty")
|
||||||
|
endif()
|
||||||
GET_FILENAME_COMPONENT(_base_dir ${_current_dir} NAME)
|
GET_FILENAME_COMPONENT(_base_dir ${_current_dir} NAME)
|
||||||
if(_glob_dir STREQUAL ".")
|
if(_glob_dir STREQUAL ".")
|
||||||
set(_base_dir .)
|
set(_base_dir .)
|
||||||
|
Loading…
Reference in New Issue
Block a user