summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2010-02-22 13:15:11 +0100
committerPino Toscano <pino@kde.org>2010-02-22 13:15:11 +0100
commitcbb7519904d9b6395d0128e16a79324e4b8bfcc0 (patch)
treeef9fb4e86c768dcb9c26b79c4ab0ea49e63aaf4b /cmake
parent80f47bbf45faf751c661c1d0931e8e1da622b8ca (diff)
[CMake] no more need to build system check for the Cairo blend modes
followup of 880890c14e99a954b365a3a6b59deeffa5304d30 for the cmake build system
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindCairo.cmake18
1 files changed, 0 insertions, 18 deletions
diff --git a/cmake/modules/FindCairo.cmake b/cmake/modules/FindCairo.cmake
index ccf82080..a0a8400d 100644
--- a/cmake/modules/FindCairo.cmake
+++ b/cmake/modules/FindCairo.cmake
@@ -37,24 +37,6 @@ if (NOT WIN32)
endif(NOT WIN32)
-if (CAIRO_FOUND)
- include(MacroPushRequiredVars)
- include(CheckCSourceCompiles)
-
- macro_push_required_vars()
- set(CMAKE_REQUIRED_DEFINITIONS ${CAIRO_CFLAGS})
- set(CMAKE_REQUIRED_LIBRARIES ${CAIRO_LIBRARIES})
- check_c_source_compiles("
-#include <cairo.h>
-int main() {
- cairo_t *cr;
- cairo_set_operator(cr, CAIRO_OPERATOR_MULTIPLY);
- return 0;
-}
-" CAIRO_HAS_BLEND_MODES)
- macro_pop_required_vars()
-endif (CAIRO_FOUND)
-
mark_as_advanced(
CAIRO_CFLAGS
CAIRO_LIBRARIES