diff --git a/CMakeLists.txt b/CMakeLists.txt index 13e12c3..143d78b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,5 +9,5 @@ if(MINGW) endif() # Subprojects -add_subdirectory (libs) +add_subdirectory (libs EXCLUDE_FROM_ALL) add_subdirectory (app) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 8a7288e..877d838 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -17,10 +17,12 @@ if (APPLE) set_target_properties(DeltaPatcher PROPERTIES MACOSX_BUNDLE TRUE MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/mac_stuff/Info.plist) endif() -install(TARGETS DeltaPatcher DESTINATION bin) -install(FILES linux_stuff/io.github.marco_calautti.DeltaPatcher.desktop DESTINATION share/applications) -install(FILES linux_stuff/io.github.marco_calautti.DeltaPatcher.metainfo.xml DESTINATION share/metainfo) +if(UNIX AND NOT APPLE) + install(TARGETS DeltaPatcher DESTINATION bin) + install(FILES linux_stuff/io.github.marco_calautti.DeltaPatcher.desktop DESTINATION share/applications) + install(FILES linux_stuff/io.github.marco_calautti.DeltaPatcher.metainfo.xml DESTINATION share/metainfo) -foreach(SIZE "16" "24" "32" "48" "64" "128" "256") - install(FILES ../graphics/icon${SIZE}.png DESTINATION share/icons/hicolor/${SIZE}x${SIZE}/apps RENAME io.github.marco_calautti.DeltaPatcher.png) -endforeach() + foreach(SIZE "16" "24" "32" "48" "64" "128" "256") + install(FILES ../graphics/icon${SIZE}.png DESTINATION share/icons/hicolor/${SIZE}x${SIZE}/apps RENAME io.github.marco_calautti.DeltaPatcher.png) + endforeach() +endif() diff --git a/app/linux_stuff/io.github.marco_calautti.DeltaPatcher.metainfo.xml b/app/linux_stuff/io.github.marco_calautti.DeltaPatcher.metainfo.xml index c1c47e0..8a2646c 100644 --- a/app/linux_stuff/io.github.marco_calautti.DeltaPatcher.metainfo.xml +++ b/app/linux_stuff/io.github.marco_calautti.DeltaPatcher.metainfo.xml @@ -10,6 +10,7 @@ GPL-2.0 Delta Patcher is a GUI software that is able to create and apply xdelta patches as the ones supported by the xdelta tool developed by Joshua McDonald. + https://camo.githubusercontent.com/1ae80fce5add0b471914e86302cf9cfd2c27475870cc77f0094fe27e2a281860/68747470733a2f2f692e696d6775722e636f6d2f64516d547573782e706e67
Delta Patcher is a GUI software that is able to create and apply xdelta patches as the ones supported by the xdelta tool developed by Joshua McDonald.