mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-23 09:54:26 +08:00
[cmake] fix case of library Pixman
This commit is contained in:
parent
565582f625
commit
520e3a39e4
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user