Amend 95da2707 for Cmake: Check for icon aliases

This commit is contained in:
Kornel Benko 2022-07-13 09:36:45 +02:00
parent c63e9d4caa
commit 7f32b02306

View File

@ -167,7 +167,9 @@ elseif(CYGWIN)
elseif(WIN32)
set(lyxrcorig "${TOP_SRC_DIR}/development/Win32/lyxrc.dist.in")
endif()
install(FILES ${TOP_SRC_DIR}/lib/images/lyx.svg DESTINATION ${LYX_DATA_SUBDIR}/images/)
foreach(_file lyx.svg icon.aliases)
install(FILES ${TOP_SRC_DIR}/lib/images/${_file} DESTINATION ${LYX_DATA_SUBDIR}/images/)
endforeach()
if(NOT lyxrcorig STREQUAL "")
configure_file("${lyxrcorig}" lyxrc.dist)