mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-25 09:58:24 -05:00
23 lines
659 B
CMake
Executable File
23 lines
659 B
CMake
Executable File
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")
|