Skip to content

Commit

Permalink
Merge pull request #1038 from kmilos/patch-1
Browse files Browse the repository at this point in the history
CMake: install thumbnailer only when binary is built
  • Loading branch information
farindk authored Nov 15, 2023
2 parents 37ffc77 + 060b55c commit c5ea21e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gnome/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
install(FILES heif.thumbnailer DESTINATION ${CMAKE_INSTALL_DATADIR}/thumbnailers)
if(WITH_EXAMPLES AND TARGET PNG::PNG)
install(FILES heif.thumbnailer DESTINATION ${CMAKE_INSTALL_DATADIR}/thumbnailers)
endif()

0 comments on commit c5ea21e

Please sign in to comment.