From 907c8bd0e8621c4f81ebdd3c8f550cb6c1feee1c 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnome/CMakeLists.txt b/gnome/CMakeLists.txt index 538c6f2ee7..c1768cf2ee 100644 --- a/gnome/CMakeLists.txt +++ b/gnome/CMakeLists.txt @@ -1,3 +1,3 @@ -if(WITH_EXAMPLES AND TARGET PNG::PNG) +if(TARGET heif-thumbnailer) install(FILES heif.thumbnailer DESTINATION ${CMAKE_INSTALL_DATADIR}/thumbnailers) endif()