diff --git a/development/cmake/scripts/LyXCreateImagesResource.cmake b/development/cmake/scripts/LyXCreateImagesResource.cmake index f360d1c4a4..ead1e4af1e 100644 --- a/development/cmake/scripts/LyXCreateImagesResource.cmake +++ b/development/cmake/scripts/LyXCreateImagesResource.cmake @@ -65,6 +65,11 @@ foreach (_current_FILE ${images}) file(APPEND ${RESOURCE_NAME} " ${_abs_FILE}\n") endforeach (_current_FILE) +# copy lyx.svg too (and use versioning) +get_filename_component(_abs_FILE "${IMAGES_DIR}/lyx.svg" ABSOLUTE) +string(REGEX REPLACE "${MAPPED_DIR}" "" _file_name ${_abs_FILE}) +file(APPEND ${RESOURCE_NAME} " ${_abs_FILE}\n") + file(APPEND ${RESOURCE_NAME} "\n") file(APPEND ${RESOURCE_NAME} "\n")