diff options
author | Robert Carr <robert.carr@canonical.com> | 2015-02-19 15:03:14 -0800 |
---|---|---|
committer | Robert Carr <robert.carr@canonical.com> | 2015-02-19 15:03:14 -0800 |
commit | 9baf97acac8e244f67fa716e475fb31539b40f1b (patch) | |
tree | 0401bc5d59f4099ca2519b31e708cf1e23bc6aae /CMakeLists.txt | |
parent | 2034a2d6f3a6753fc108f4183202373f517f4a93 (diff) |
Port to MirEvent 2.0
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f48f7ae..fe60f92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,7 +66,7 @@ if(PROTOBUF_PROTOC_EXECUTABLE STREQUAL "PROTOBUF_PROTOC_EXECUTABLE-NOTFOUND") message(SEND_ERROR "protoc executable not found! Missing protobuf-compiler package?") endif() -pkg_check_modules(MIRSERVER mirserver REQUIRED) +pkg_check_modules(MIRSERVER mirserver>=0.11 REQUIRED) pkg_check_modules(GLIB glib-2.0 REQUIRED) pkg_check_modules(PROCESS_CPP process-cpp REQUIRED) @@ -78,6 +78,7 @@ pkg_check_modules(GIO gio-2.0) pkg_check_modules(GIO_UNIX gio-unix-2.0) pkg_check_modules(LTTNG lttng-ust) +add_definitions(-DMIR_REQUIRE_DEPRECATED_EVENT_OPT_IN=1) # We expect this to be set via debian/rules for GLES builds if ("${USE_OPENGLES}" STREQUAL 1) |