project (pimageformats) cmake_minimum_required (VERSION 3.9.5) include (GNUInstallDirs) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(QT_MINIMUM_VERSION "5.10") find_package(Qt5 ${QT_MINIMUM_VERSION} CONFIG REQUIRED Gui) add_subdirectory(vendor/libsai) add_subdirectory(imageformats)