Silence some GLib deprecation warnings

Using the GLib version from the GTK+ 3.8.2 bundle.
This commit is contained in:
Přemysl Eric Janouch 2021-10-24 16:44:36 +02:00
parent 67acddb26d
commit 924617e1ce
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 2 additions and 0 deletions

View File

@ -175,6 +175,8 @@ if (WIN32)
endif (WIN32)
# Generate a configure file
add_definitions (-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36)
add_definitions (-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36)
configure_file (${PROJECT_SOURCE_DIR}/config.h.in
${PROJECT_BINARY_DIR}/config.h)
include_directories (${PROJECT_BINARY_DIR})