mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 06:15:16 +00:00
Cmake build: Add also reference to versioned lyx.svg to the resources file
This commit is contained in:
parent
ac9a2fa9f8
commit
aa7dbdef37
@ -65,6 +65,11 @@ foreach (_current_FILE ${images})
|
||||
file(APPEND ${RESOURCE_NAME} " <file alias=\"${_file_name}\">${_abs_FILE}</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} " <file alias=\"lyx${SUFFIX}\">${_abs_FILE}</file>\n")
|
||||
|
||||
file(APPEND ${RESOURCE_NAME} "</qresource>\n")
|
||||
file(APPEND ${RESOURCE_NAME} "</RCC>\n")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user