Warning, /plasma/oxygen-sounds/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2021 Benjamin Port <benjamin.port@enioka.com> 0002 # SPDX-License-Identifier: BSD-2-Clause 0003 0004 cmake_minimum_required(VERSION 3.16) 0005 0006 project(oxygen-sounds) 0007 set(PROJECT_VERSION "6.0.0") 0008 set(PROJECT_VERSION_MAJOR 6) 0009 0010 include(FeatureSummary) 0011 0012 ################# Qt/KDE ################# 0013 set(KF5_MIN_VERSION "5.102.0") 0014 0015 find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) 0016 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ) 0017 0018 include(KDEInstallDirs) 0019 include(KDECMakeSettings) 0020 0021 install(DIRECTORY "sounds/oxygen" DESTINATION ${KDE_INSTALL_SOUNDDIR} 0022 PATTERN "*.license" EXCLUDE) 0023 0024 option(KF5_SUPPORT "Provide the legacy sound paths for KF5 apps" ON) 0025 if(KF5_SUPPORT) 0026 file(GLOB _oggfile CONFIGURE_DEPENDS "sounds/*.ogg" ) 0027 install(FILES ${_oggfile} DESTINATION ${KDE_INSTALL_SOUNDDIR}) 0028 endif() 0029 0030 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)