jpayne@69: jpayne@69: ####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() ####### jpayne@69: ####### Any changes to this file will be overwritten by the next CMake run #### jpayne@69: ####### The input file was libdeflate-config.cmake.in ######## jpayne@69: jpayne@69: get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE) jpayne@69: jpayne@69: macro(set_and_check _var _file) jpayne@69: set(${_var} "${_file}") jpayne@69: if(NOT EXISTS "${_file}") jpayne@69: message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !") jpayne@69: endif() jpayne@69: endmacro() jpayne@69: jpayne@69: macro(check_required_components _NAME) jpayne@69: foreach(comp ${${_NAME}_FIND_COMPONENTS}) jpayne@69: if(NOT ${_NAME}_${comp}_FOUND) jpayne@69: if(${_NAME}_FIND_REQUIRED_${comp}) jpayne@69: set(${_NAME}_FOUND FALSE) jpayne@69: endif() jpayne@69: endif() jpayne@69: endforeach() jpayne@69: endmacro() jpayne@69: jpayne@69: #################################################################################### jpayne@69: jpayne@69: include("${CMAKE_CURRENT_LIST_DIR}/libdeflate-targets.cmake")