From deaa43e32db0d9eb8e6edc7eacbfad4ef504314c Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Sun, 24 Apr 2022 18:35:24 +0200 Subject: [PATCH] CMake: Remove workaround for removing png headers from cairo CAIRO_INCLUDE_DIRS does not include them with the current FindCairo.cmake. --- build/cmake/init.cmake | 3 --- 1 file changed, 3 deletions(-) diff --git a/build/cmake/init.cmake b/build/cmake/init.cmake index 12644fb883..3ff14ab91f 100644 --- a/build/cmake/init.cmake +++ b/build/cmake/init.cmake @@ -580,9 +580,6 @@ if(wxUSE_GUI) if(NOT CAIRO_FOUND) message(WARNING "Cairo not found, Cairo renderer won't be available") wx_option_force_value(wxUSE_CAIRO OFF) - else() - #TODO only if build-in png? - list(FILTER CAIRO_INCLUDE_DIRS EXCLUDE REGEX ".*libpng.*") endif() endif() endif()