mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 15:29:06 +08:00
d4422c3beb
* Major update to port poppler * Fixup usage requirements via main pc file * Add usage based on FindPkgConfig * Export unofficial cmake config * uwp is unsupported * [gdal] Add poppler feature * [gdal] Update poppler dependency * [gdal] Add patch for poppler C++17 API * Disable ENABLE_RELOCATABLE * Update to 22.02.0 from poppler gitlab * Update versions * [skip actions] CI with gdal tools * Revert "[skip actions] CI with gdal tools" * Modify feature name for private API * Update versions * Add license field to gdal manifest * Add port name to unofficial namespace * Rectify poppler version number * Update versions * poppler[fontconfig] doesn't build for MSVC * Update versions Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
23 lines
659 B
CMake
23 lines
659 B
CMake
include(CMakeFindDependencyMacro)
|
|
cmake_policy(SET CMP0012 NEW)
|
|
cmake_policy(SET CMP0057 NEW)
|
|
set(features "@FEATURES@")
|
|
find_dependency(Boost)
|
|
if("fontconfig" IN_LIST features)
|
|
find_dependency(Fontconfig) # CMake 3.14
|
|
endif()
|
|
find_dependency(Freetype)
|
|
find_dependency(JPEG)
|
|
find_dependency(PNG)
|
|
find_dependency(TIFF)
|
|
find_dependency(OpenJPEG CONFIG)
|
|
if("curl" IN_LIST features)
|
|
find_dependency(CURL)
|
|
endif()
|
|
if("zlib" IN_LIST features)
|
|
find_dependency(ZLIB)
|
|
endif()
|
|
find_dependency(Iconv) # CMake 3.11
|
|
include("${CMAKE_CURRENT_LIST_DIR}/unofficial-poppler-targets.cmake")
|
|
include("${CMAKE_CURRENT_LIST_DIR}/unofficial-poppler-cpp-targets.cmake")
|