From 142244445116202f3ae99e64a271e7e53bfc7a54 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 3 May 2020 10:10:32 -0700 Subject: Disable warnings about deprecated functions Until we port this to GTK4 or something, we'll have to live with those. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b9af705..acfdfeb0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,6 +71,7 @@ message(STATUS "LOCALEDIR = ${CMAKE_INSTALL_PREFIX}/share/locale") message(STATUS "Building HardInfo for architecture: ${HARDINFO_OS}-${HARDINFO_ARCH}") add_definitions("-std=gnu89") +add_definitions("-Wno-deprecated-declarations") add_subdirectory(po) -- cgit v1.2.3