我正在用cmake Gui构建Cairo。 当我打 '配置',CMake的是显示以下错误:找不到Pixman - Cmake错误
Could NOT find PIXMAN, try to set the path to PIXMAN root folder in the system variable PIXMAN (missing: PIXMAN_LIBRARIES PIXMAN_INCLUDE_DIRS)
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
CMake Error at C:/cmake-3.7.0-rc1-win32-x86/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
Call Stack (most recent call first):
C:/cmake-3.7.0-rc1-win32-x86/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
C:/cmake-3.7.0-rc1-win32-x86/share/cmake-3.7/Modules/FindPNG.cmake:146 (find_package_handle_standard_args)
CMakeLists.txt:7 (find_package)
我已经下载的zlib,libpng的,Pixman源文件。 在哪里放置这些文件? 我觉得FindPixaman.cmake文件需要修改:
# PIXMAN_ROOT_DIR - Set this variable to the root installation of PIXMAN
如何设置的PIXMAN_ROOT_DIR
路径安装根?