diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-10-24 16:30:44 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-10-24 16:30:44 +0200 |
commit | dc36a88968f030b6003298d10ca2cc5581afd77d (patch) | |
tree | 46c43f3272ac955de30791dac3ea3636fcb5f1a9 /CMakeLists.txt | |
parent | 0371dd95dd3dc8b4b76fb59d3ba744b49b2b167a (diff) | |
download | tdv-dc36a88968f030b6003298d10ca2cc5581afd77d.tar.gz tdv-dc36a88968f030b6003298d10ca2cc5581afd77d.tar.xz tdv-dc36a88968f030b6003298d10ca2cc5581afd77d.zip |
Improve GLib deprecation disabling
Added a match against the version stated in the README.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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}) |