From 520e3a39e4f83da48e447973b66d0d360aaec498 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Thu, 14 Dec 2023 14:01:04 +0100 Subject: [PATCH] [cmake] fix case of library Pixman --- cmake/FindPixman.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/FindPixman.cmake b/cmake/FindPixman.cmake index 7bfca77bd..a19a684bb 100644 --- a/cmake/FindPixman.cmake +++ b/cmake/FindPixman.cmake @@ -30,9 +30,10 @@ find_path(PIXMAN_INCLUDE_DIR NAMES pixman.h PATH_SUFFIXES pixman-1) find_library(PIXMAN_LIBRARY NAMES pixman-1) -find_package_handle_standard_args(pixman-1 DEFAULT_MSG PIXMAN_LIBRARY PIXMAN_INCLUDE_DIR) +find_package_handle_standard_args(Pixman DEFAULT_MSG PIXMAN_LIBRARY PIXMAN_INCLUDE_DIR) -if(PIXMAN-1_FOUND) +if(Pixman_FOUND) + set(PIXMAN_FOUND ON) set(PIXMAN_LIBRARIES ${PIXMAN_LIBRARY}) set(PIXMAN_INCLUDE_DIRS ${PIXMAN_INCLUDE_DIR}) endif()