From ab29b74fe8ec830c6d4c896900939c98d22c0e96 Mon Sep 17 00:00:00 2001 From: Thomas McGuire Date: Mon, 25 Apr 2011 00:36:43 +0100 Subject: [PATCH 1/2] Less warnings when building against a new kdepimlibs. --- kresources/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kresources/CMakeLists.txt b/kresources/CMakeLists.txt index 9fd1b37..a746796 100644 --- a/kresources/CMakeLists.txt +++ b/kresources/CMakeLists.txt @@ -1,4 +1,7 @@ add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS}) +add_definitions(-DWANT_DEPRECATED_KCAL_API) +add_definitions(-DWANT_DEPRECATED_KABC_API) +add_definitions(-DWANT_DEPRECATED_KRESOURCE_API) include_directories (${kdepim-runtime_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE4_INCLUDES} ${QT_QTDBUS_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/shared) # include (ConfigureChecks.cmake) -- 1.7.9.2