diff --git a/CMakeLists.txt b/CMakeLists.txt index 10d95d66..5a3bbf9b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ if(DPF_LIBRARIES) find_package(PkgConfig) if(PKG_CONFIG_FOUND) pkg_check_modules(CAIRO "cairo") - if(CAIRO_FOUND) + if(CAIRO_FOUND AND (NOT HAIKU)) dpf__add_dgl_cairo(FALSE) endif() endif() @@ -43,7 +43,7 @@ if(DPF_EXAMPLES) find_package(PkgConfig) if(PKG_CONFIG_FOUND) pkg_check_modules(CAIRO "cairo") - if(CAIRO_FOUND) + if(CAIRO_FOUND AND (NOT HAIKU)) add_subdirectory("examples/CairoUI") endif() endif()