diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-10-24 16:44:36 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-10-24 16:45:53 +0200 |
commit | 924617e1ced9fafd7cf723e104545d4852674da9 (patch) | |
tree | b70e901aec07945e4854e42eba22008f6d354a73 | |
parent | 67acddb26de529770f88d3d542d3a8c5ce77e39c (diff) | |
download | logdiag-924617e1ced9fafd7cf723e104545d4852674da9.tar.gz logdiag-924617e1ced9fafd7cf723e104545d4852674da9.tar.xz logdiag-924617e1ced9fafd7cf723e104545d4852674da9.zip |
Silence some GLib deprecation warnings
Using the GLib version from the GTK+ 3.8.2 bundle.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0852a8b..5f41312 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) |