Skip to content

Commit

Permalink
CMake: install thumbnailer only when binary is built
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilos authored Nov 15, 2023
1 parent 37ffc77 commit 060b55c
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()

1 comment on commit 060b55c

@fancycode
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This broke installing the thumbnailer file, fix in #1040

Please sign in to comment.