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



commit 9a1b140fa1d5942469d72b9cf92957d02382884f
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jan 14 12:22:19 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 773ee8a..1739c72 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -106,7 +106,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})
 
 pkg_check_modules(CAMEL REQUIRED camel-1.2>=${eds_minimum_version})


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