From bae5545b118005628d00036ce68e0d423864a8d3 Mon Sep 17 00:00:00 2001 From: Maciej Latocha Date: Thu, 31 Mar 2016 17:36:11 +0200 Subject: [PATCH] Don't compile GetKey It relies on functions that are too deprecated, without -Wno-deprecated-declarations it doesn't even compile. --- CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c0e10ba..029cc04 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ if(PLAIN_KEYS) endif() if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -pedantic -Wno-deprecated-declarations -Wno-variadic-macros") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -pedantic -Wno-variadic-macros") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3") endif() diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fe63ea2..be28387 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -11,7 +11,6 @@ set(qjoypad_SOURCES buttonw.cpp event.cpp flash.cpp - getkey.cpp icon.cpp joypad.cpp joypadw.cpp @@ -31,7 +30,6 @@ set(qjoypad_QOBJECT_HEADERS button.h buttonw.h flash.h - getkey.h icon.h joypad.h joypadw.h