Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Quantum-mutnauQ authored Dec 29, 2024
1 parent fa58620 commit d5f534c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ function(copy_metainfo)
install(FILES ${SOURCE_METAINFO} DESTINATION ${ASSETS_TARGET_DIR})

file(RENAME "${ASSETS_TARGET_DIR}/metainfo.xml" "${ASSETS_TARGET_DIR}/${FLATPAK_ID}.metainfo.xml")
file(REMOVE "${ASSETS_TARGET_DIR}/metainfo.xml")
if(EXISTS "${ASSETS_TARGET_DIR}/metainfo.xml")
file(REMOVE "${ASSETS_TARGET_DIR}/metainfo.xml")
endif()
endif()
endfunction()

Expand Down

0 comments on commit d5f534c

Please sign in to comment.