diff options
-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}) |