Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / plasma-applet-volumewin7mixer / cmake.patch
blobb33a3e174bc47b054fdfd9a5a79cc9385eeb3b31
1 diff -Naur org.kde.plasma.volumewin7mixer/CMakeLists.txt org.kde.plasma.volumewin7mixer.patch/CMakeLists.txt
2 --- org.kde.plasma.volumewin7mixer/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
3 +++ org.kde.plasma.volumewin7mixer.patch/CMakeLists.txt 2016-04-19 11:23:35.137866949 +0200
4 @@ -0,0 +1,15 @@
5 +# Set minimum CMake version (required for CMake 3.0 or later)
6 +cmake_minimum_required(VERSION 2.8.12)
8 +# Use Extra CMake Modules (ECM) for common functionality.
9 +# See http://api.kde.org/ecm/manual/ecm.7.html
10 +# and http://api.kde.org/ecm/manual/ecm-kde-modules.7.html
11 +find_package(ECM REQUIRED NO_MODULE)
12 +# Needed by find_package(KF5Plasma) below.
13 +set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_MODULE_PATH})
15 +# Locate plasma_install_package macro.
16 +find_package(KF5Plasma REQUIRED)
18 +# Add installatation target ("make install").
19 +plasma_install_package(package org.kde.plasma.volumewin7mixer)