Mercurial > repos > rliterman > csp2
annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/lib/cmake/libdeflate/libdeflate-config.cmake @ 69:33d812a61356
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 17:55:14 -0400 |
parents | |
children |
rev | line source |
---|---|
jpayne@69 | 1 |
jpayne@69 | 2 ####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() ####### |
jpayne@69 | 3 ####### Any changes to this file will be overwritten by the next CMake run #### |
jpayne@69 | 4 ####### The input file was libdeflate-config.cmake.in ######## |
jpayne@69 | 5 |
jpayne@69 | 6 get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE) |
jpayne@69 | 7 |
jpayne@69 | 8 macro(set_and_check _var _file) |
jpayne@69 | 9 set(${_var} "${_file}") |
jpayne@69 | 10 if(NOT EXISTS "${_file}") |
jpayne@69 | 11 message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !") |
jpayne@69 | 12 endif() |
jpayne@69 | 13 endmacro() |
jpayne@69 | 14 |
jpayne@69 | 15 macro(check_required_components _NAME) |
jpayne@69 | 16 foreach(comp ${${_NAME}_FIND_COMPONENTS}) |
jpayne@69 | 17 if(NOT ${_NAME}_${comp}_FOUND) |
jpayne@69 | 18 if(${_NAME}_FIND_REQUIRED_${comp}) |
jpayne@69 | 19 set(${_NAME}_FOUND FALSE) |
jpayne@69 | 20 endif() |
jpayne@69 | 21 endif() |
jpayne@69 | 22 endforeach() |
jpayne@69 | 23 endmacro() |
jpayne@69 | 24 |
jpayne@69 | 25 #################################################################################### |
jpayne@69 | 26 |
jpayne@69 | 27 include("${CMAKE_CURRENT_LIST_DIR}/libdeflate-targets.cmake") |