mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-11-05 02:46:56 +03:00
only if we are generating the appdata
This commit is contained in:
parent
9362ed5f76
commit
d9168ee955
@ -211,7 +211,9 @@ else()
|
||||
"${CMAKE_INSTALL_DATADIR}/gittyup/Resources"
|
||||
CACHE STRING "The path for installing resource files")
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/rsrc/linux/com.github.Murmele.Gittyup.desktop DESTINATION ${DATAROOTDIR}/applications RENAME ${GITTYUP_NAME}.desktop)
|
||||
install(FILES ${APPDATA} DESTINATION ${DATAROOTDIR}/metainfo RENAME ${GITTYUP_NAME}.appdata.xml)
|
||||
if (${GENERATE_APPDATA})
|
||||
install(FILES ${APPDATA} DESTINATION ${DATAROOTDIR}/metainfo RENAME ${GITTYUP_NAME}.appdata.xml)
|
||||
endif()
|
||||
else()
|
||||
set(RESOURCES_INSTALL_DIR
|
||||
"Resources"
|
||||
|
Loading…
Reference in New Issue
Block a user