From 675139edb03f1eed43361b1bc6b1bcacf63327d9 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Wed, 15 Apr 2020 07:07:47 +0200 Subject: Disable GLib deprecation warnings Not very useful. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c13754f..b0cdfa4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -174,6 +174,7 @@ set (project_headers ${project_common_headers}) # Build the main executable and link it +add_definitions (-DGLIB_DISABLE_DEPRECATION_WARNINGS) add_executable (${PROJECT_NAME} ${project_sources} ${project_headers} ${project_common_sources}) target_link_libraries (${PROJECT_NAME} ${project_common_libraries}) -- cgit v1.2.3-70-g09d2