[cmake] fix case of library Pixman

This commit is contained in:
Armin Novak 2023-12-14 14:01:04 +01:00 committed by akallabeth
parent 565582f625
commit 520e3a39e4

View File

@ -30,9 +30,10 @@ find_path(PIXMAN_INCLUDE_DIR NAMES pixman.h PATH_SUFFIXES pixman-1)
find_library(PIXMAN_LIBRARY NAMES 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_LIBRARIES ${PIXMAN_LIBRARY})
set(PIXMAN_INCLUDE_DIRS ${PIXMAN_INCLUDE_DIR}) set(PIXMAN_INCLUDE_DIRS ${PIXMAN_INCLUDE_DIR})
endif() endif()