Changeset View
Changeset View
Standalone View
Standalone View
build_files/cmake/platform/platform_unix.cmake
| Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | |||||
| if(EXISTS ${LIBDIR}) | if(EXISTS ${LIBDIR}) | ||||
| without_system_libs_begin() | without_system_libs_begin() | ||||
| endif() | endif() | ||||
| find_package_wrapper(JPEG REQUIRED) | find_package_wrapper(JPEG REQUIRED) | ||||
| find_package_wrapper(PNG REQUIRED) | find_package_wrapper(PNG REQUIRED) | ||||
| find_package_wrapper(ZLIB REQUIRED) | find_package_wrapper(ZLIB REQUIRED) | ||||
| find_package_wrapper(Zstd REQUIRED) | find_package_wrapper(Zstd REQUIRED) | ||||
| find_package_wrapper(Epoxy REQUIRED) | |||||
| function(check_freetype_for_brotli) | function(check_freetype_for_brotli) | ||||
| include(CheckSymbolExists) | include(CheckSymbolExists) | ||||
| set(CMAKE_REQUIRED_INCLUDES ${FREETYPE_INCLUDE_DIRS}) | set(CMAKE_REQUIRED_INCLUDES ${FREETYPE_INCLUDE_DIRS}) | ||||
| check_symbol_exists(FT_CONFIG_OPTION_USE_BROTLI | check_symbol_exists(FT_CONFIG_OPTION_USE_BROTLI | ||||
| "freetype/config/ftconfig.h" HAVE_BROTLI) | "freetype/config/ftconfig.h" HAVE_BROTLI) | ||||
| if(NOT HAVE_BROTLI) | if(NOT HAVE_BROTLI) | ||||
| unset(HAVE_BROTLI CACHE) | unset(HAVE_BROTLI CACHE) | ||||
| ▲ Show 20 Lines • Show All 866 Lines • Show Last 20 Lines | |||||