cscg24-guacamole

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

LibVNCServerConfig.cmake (1005B)


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