summaryrefslogtreecommitdiff
diff options
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2022-08-18 10:35:08 +0000
committerBileto Bot <ci-train-bot@canonical.com>2022-08-18 10:35:08 +0000
commitd0f050b7e152b20e693e5461ebadbbfcb2e21ae6 (patch)
treedde87ecffd6e9412cf127dd3e1ec10f4cb19a8e6
parent07400a0e98d74dd7627ac5ab4e1115a5abaef134 (diff)
parentce828994efb7ca9aac22111003d5bc4056bea168 (diff)
Fix build after Compiz changes
-rw-r--r--CMakeLists.txt2
-rw-r--r--debian/control2
-rw-r--r--plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp2
3 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e3abf80e8..76ff07f9c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
project (unity)
-cmake_minimum_required(VERSION 2.8.9)
+cmake_minimum_required(VERSION 3.17.0)
include (cmake/Documentation.cmake)
include (cmake/pch.cmake)
diff --git a/debian/control b/debian/control
index cd3a3bfff..59eabf999 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: unity
Section: gnome
Priority: optional
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
-Build-Depends: cmake,
+Build-Depends: cmake (>= 3.17.0),
compiz-dev (>= 1:0.9.13.1+18.04.20180221),
debhelper (>= 9.0.0~),
dbus-test-runner,
diff --git a/plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp b/plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp
index fb78bd9d8..a9533187f 100644
--- a/plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp
+++ b/plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp
@@ -19,6 +19,8 @@
#include "unity-mt-grab-handles.h"
#include <iostream>
+using namespace boost::placeholders;
+
COMPIZ_PLUGIN_20090315(unitymtgrabhandles, UnityMTGrabHandlesPluginVTable);
unsigned int unity::MT::MaximizedHorzMask = CompWindowStateMaximizedHorzMask;