diff options
-rw-r--r-- | modules/FindCups.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/FindCups.cmake b/modules/FindCups.cmake index cf2c46be..0be87208 100644 --- a/modules/FindCups.cmake +++ b/modules/FindCups.cmake @@ -20,7 +20,8 @@ FIND_LIBRARY(CUPS_LIBRARIES NAMES cups ) if (CUPS_INCLUDE_DIR AND CUPS_LIBRARIES) - set(CUPS_FOUND TRUE) + # ippDeleteAttribute is new in cups-1.1.19 (and used by kdeprint) + check_library_exists(cups ippDeleteAttribute "" CUPS_FOUND) endif (CUPS_INCLUDE_DIR AND CUPS_LIBRARIES) if (CUPS_FOUND) |