--- CMakeLists.txt.orig 2018-04-27 18:02:32 UTC +++ CMakeLists.txt @@ -100,7 +100,7 @@ elseif (NOT HAIKU) set(CANTATA_ICON_INSTALL_PREFIX ${SHARE_INSTALL_PREFIX}/icons/hicolor) endif () -if (NOT WIN32 AND NOT APPLE AND ENABLE_DEVICES_SUPPORT AND ENABLE_UDISKS2) +if (LINUX AND ENABLE_DEVICES_SUPPORT AND ENABLE_UDISKS2) set(WITH_SOLID_UDISKS2 ON) endif ()