Move install of MetaInfo to top level

This commit is contained in:
NN708 2024-11-13 00:29:10 +08:00
parent 7ae6f4bcd9
commit c85cb4ea73
2 changed files with 2 additions and 3 deletions

View File

@ -67,7 +67,6 @@ add_subdirectory( library )
add_subdirectory( qucs-transcalc )
add_subdirectory( qucs-powercombining )
add_subdirectory( qucs-s-spar-viewer )
add_subdirectory( contrib )
#add_subdirectory( examples )
if(EXISTS ${CMAKE_SOURCE_DIR}/qucsator_rf/CMakeLists.txt)
add_subdirectory(qucsator_rf)
@ -82,6 +81,8 @@ add_subdirectory( translations )
install(DIRECTORY "examples" DESTINATION "share/${QUCS_NAME}")
install(FILES contrib/io.github.ra3xdh.qucs_s.metainfo.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo)
#
# Custom uninstall target
#

View File

@ -3,5 +3,3 @@
INSTALL( FILES ps2sp DESTINATION bin/ )
INSTALL( FILES ps2sp.1 DESTINATION share/man/man1 )
INSTALL( FILES io.github.ra3xdh.qucs_s.metainfo.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo )