1 diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
2 index 71a110a7b..e69880d46 100644
3 --- a/data/CMakeLists.txt
4 +++ b/data/CMakeLists.txt
5 @@ -38,11 +38,6 @@ if(NOT WIN32)
6 # find the correct file.
7 set(DESKTOP_ANSEL_BINARY "ansel")
8 set(DESKTOP_ANSEL_ICON "ansel")
9 - if(NOT CMAKE_INSTALL_PREFIX STREQUAL "/usr")
10 - set(DESKTOP_ANSEL_BINARY "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/ansel")
11 - # `hicolor` is always available.
12 - set(DESKTOP_ANSEL_ICON "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps/ansel.svg")
15 # Append supported MIME types dynamically.
16 if("avif" IN_LIST DT_SUPPORTED_EXTENSIONS)