project(pimageformats) cmake_minimum_required(VERSION 3.9.5) include(GNUInstallDirs) option(BUILD_EXPERIMENTAL_PLUGINS "Enable the build of imageformats plugin(s) that might not working" ON) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(QT_MINIMUM_VERSION "5.10") find_package(Qt5 ${QT_MINIMUM_VERSION} CONFIG REQUIRED Gui) if(BUILD_EXPERIMENTAL_PLUGINS) add_subdirectory(${CMAKE_SOURCE_DIR}/vendor/libsai) endif() add_subdirectory(imageformats)