cscg24-guacamole

CSCG 2024 Challenge 'Guacamole Mashup'
git clone https://git.sinitax.com/sinitax/cscg24-guacamole
Log | Files | Refs | sfeed.txt

WinPRConfig.cmake (1101B)


      1
      2
      3####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
      4####### Any changes to this file will be overwritten by the next CMake run ####
      5####### The input file was WinPRConfig.cmake.in                            ########
      6
      7get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
      8
      9macro(set_and_check _var _file)
     10  set(${_var} "${_file}")
     11  if(NOT EXISTS "${_file}")
     12    message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
     13  endif()
     14endmacro()
     15
     16macro(check_required_components _NAME)
     17  foreach(comp ${${_NAME}_FIND_COMPONENTS})
     18    if(NOT ${_NAME}_${comp}_FOUND)
     19      if(${_NAME}_FIND_REQUIRED_${comp})
     20        set(${_NAME}_FOUND FALSE)
     21      endif()
     22    endif()
     23  endforeach()
     24endmacro()
     25
     26####################################################################################
     27
     28set(WinPR_VERSION_MAJOR "2")
     29set(WinPR_VERSION_MINOR "11")
     30set(WinPR_VERSION_REVISION "2")
     31
     32set_and_check(WinPR_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/include/winpr2")
     33
     34include("${CMAKE_CURRENT_LIST_DIR}/WinPRTargets.cmake")