Improve GLib deprecation disabling

Added a match against the version stated in the README.
This commit is contained in:
Přemysl Eric Janouch 2021-10-24 16:30:44 +02:00
parent 0371dd95dd
commit dc36a88968
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 1 deletions

View File

@ -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})