From dc36a88968f030b6003298d10ca2cc5581afd77d Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Sun, 24 Oct 2021 16:30:44 +0200 Subject: Improve GLib deprecation disabling Added a match against the version stated in the README. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index cd1cbbb..657f7c7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,7 +173,7 @@ set (project_headers ${project_common_headers}) # Build the main executable and link it -add_definitions (-DGLIB_DISABLE_DEPRECATION_WARNINGS) +add_definitions (-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_38) if (NOT WIN32) add_executable (${PROJECT_NAME} ${project_sources} ${project_headers} ${project_common_sources}) -- cgit v1.2.3-70-g09d2