[evolution-ews] Use also -DCAMEL_DISABLE_DEPRECATED=1 in the maintainer mode



commit 52f42c8c73fb0dce2675c100a0769097b4f2fef6
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jan 14 11:06:21 2019 +0100

    Use also -DCAMEL_DISABLE_DEPRECATED=1 in the maintainer mode
    
    One bit was camel_folder_info_build(), which is not deprecated now,
    thus it can be used too.

 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0c5b8b07..f8b3f564 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -114,7 +114,7 @@ endif(ENABLE_MAINTAINER_MODE)
 setup_build_flags(${ENABLE_MAINTAINER_MODE})
 
 if(${ENABLE_MAINTAINER_MODE})
-       add_definitions(-DEDS_DISABLE_DEPRECATED=1)
+       add_definitions(-DCAMEL_DISABLE_DEPRECATED=1 -DEDS_DISABLE_DEPRECATED=1)
 endif(${ENABLE_MAINTAINER_MODE})
 
 set(MATH_LDFLAGS -lm)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]