| Server IP : 23.254.227.96 / Your IP : 216.73.216.183 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/root/usr/local/src/libavif-0.11.1/cmake/Modules/ |
Upload File : |
# - Try to find rav1e
# Once done this will define
#
# RAV1E_FOUND - system has rav1e
# RAV1E_INCLUDE_DIR - the rav1e include directory
# RAV1E_LIBRARIES - Link these to use rav1e
#
#=============================================================================
# Copyright (c) 2020 Andreas Schneider <asn@cryptomilk.org>
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
#
find_package(PkgConfig QUIET)
if(PKG_CONFIG_FOUND)
pkg_check_modules(_RAV1E rav1e)
endif(PKG_CONFIG_FOUND)
if(NOT RAV1E_INCLUDE_DIR)
find_path(
RAV1E_INCLUDE_DIR
NAMES rav1e.h
PATHS ${_RAV1E_INCLUDEDIR}
PATH_SUFFIXES rav1e
)
endif()
if(NOT RAV1E_LIBRARY)
find_library(RAV1E_LIBRARY NAMES rav1e PATHS ${_RAV1E_LIBDIR})
endif()
set(RAV1E_LIBRARIES ${RAV1E_LIBRARIES} ${RAV1E_LIBRARY} ${_RAV1E_LDFLAGS})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
rav1e
FOUND_VAR RAV1E_FOUND
REQUIRED_VARS RAV1E_LIBRARY RAV1E_LIBRARIES RAV1E_INCLUDE_DIR
VERSION_VAR _RAV1E_VERSION
)
# show the RAV1E_INCLUDE_DIR, RAV1E_LIBRARY and RAV1E_LIBRARIES variables only
# in the advanced view
mark_as_advanced(RAV1E_INCLUDE_DIR RAV1E_LIBRARY RAV1E_LIBRARIES)