mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Install desktop file in cmake-build too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40394 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5966bee90f
commit
a5e8db71ae
@ -40,6 +40,7 @@ macro(lyx_install _parent_src_dir _gl_dir _file_type)
|
||||
list(REMOVE_ITEM files_list "${_current_dir}/Makefile.in")
|
||||
list(REMOVE_ITEM files_list "${_current_dir}/Makefile.am")
|
||||
list(REMOVE_ITEM files_list "${_current_dir}/layouttranslations")
|
||||
list(REMOVE_ITEM files_list "${_current_dir}/lyx.desktop")
|
||||
GET_FILENAME_COMPONENT(_base_dir ${_current_dir} NAME)
|
||||
if(_glob_dir STREQUAL ".")
|
||||
set(_base_dir .)
|
||||
@ -79,3 +80,7 @@ lyx_install(${TOP_SRC_DIR}/lib templates * . attic springer thesis)
|
||||
lyx_install(${TOP_SRC_DIR}/lib tex * .)
|
||||
lyx_install(${TOP_SRC_DIR}/lib ui * .)
|
||||
lyx_install(${TOP_SRC_DIR}/lib . * .)
|
||||
|
||||
if(UNIX)
|
||||
install(FILES ${TOP_SRC_DIR}/lib/lyx.desktop DESTINATION applications)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user