Warning, /utilities/isoimagewriter/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
0002 
0003 project(imagewriter)
0004 set(PROJECT_VERSION "0.9")
0005 
0006 set(QT_MIN_VERSION "5.15.2")
0007 set(KF5_REQUIRED_VERSION "5.90.0")
0008 set(KDE_COMPILERSETTINGS_LEVEL "5.82.0")
0009 
0010 find_package(ECM ${KF5_REQUIRED_VERSION} REQUIRED NO_MODULE)
0011 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
0012 
0013 include(KDEInstallDirs)
0014 include(KDECMakeSettings)
0015 include(KDECompilerSettings NO_POLICY_SCOPE)
0016 include(ECMOptionalAddSubdirectory)
0017 include(ECMQtDeclareLoggingCategory)
0018 include(ECMSetupVersion)
0019 
0020 option(ROSA_BRANDING "Build with ROSA branding" OFF)
0021 
0022 if(CMAKE_SYSTEM_NAME STREQUAL Linux)
0023     option(USE_KAUTH "Build with KAuth (default on for Linux, off for Windows)" ON)
0024 elseif(CMAKE_SYSTEM_NAME STREQUAL Linux)
0025     option(USE_KAUTH "Build with KAuth (default on for Linux, off for Windows)" OFF)
0026 endif()
0027 
0028 if(USE_KAUTH AND CMAKE_SYSTEM_NAME STREQUAL Linux)
0029     find_package(KF5Auth REQUIRED)
0030     add_definitions(-DUSE_KAUTH=ON)
0031     message("XX using KAuth")
0032 else()
0033     message("XX not using KAuth")
0034 endif()
0035 
0036 find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Network Widgets)
0037 
0038 find_package(KF5 ${KF5_REQUIRED_VERSION} REQUIRED COMPONENTS
0039     I18n
0040     CoreAddons
0041     WidgetsAddons
0042     IconThemes
0043     Archive
0044     Crash
0045     Solid
0046 )
0047 
0048 add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
0049 
0050 KDE_ENABLE_EXCEPTIONS()
0051 
0052 add_subdirectory(isoimagewriter)
0053 add_subdirectory(images)
0054 add_subdirectory(signing-keys)
0055 
0056 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)