From 617f2918cd0711e82ee90c6768d6cbb08dc8e5ff Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Tue, 21 Nov 2023 09:33:47 +0100 Subject: [PATCH] Fix installing Gnome files if examples are build. Regression was introduced in 060b55c93ef2338998bf8bcc542421d9f5fd99fd. --- gnome/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/gnome/CMakeLists.txt b/gnome/CMakeLists.txt index 538c6f2ee73..d217cfc80d6 100644 --- a/gnome/CMakeLists.txt +++ b/gnome/CMakeLists.txt @@ -1,3 +1,4 @@ +find_package(PNG) if(WITH_EXAMPLES AND TARGET PNG::PNG) install(FILES heif.thumbnailer DESTINATION ${CMAKE_INSTALL_DATADIR}/thumbnailers) endif()