CMake: Remove workaround for removing png headers from cairo
CAIRO_INCLUDE_DIRS does not include them with the current FindCairo.cmake.
This commit is contained in:
@@ -580,9 +580,6 @@ if(wxUSE_GUI)
|
|||||||
if(NOT CAIRO_FOUND)
|
if(NOT CAIRO_FOUND)
|
||||||
message(WARNING "Cairo not found, Cairo renderer won't be available")
|
message(WARNING "Cairo not found, Cairo renderer won't be available")
|
||||||
wx_option_force_value(wxUSE_CAIRO OFF)
|
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()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user