FreeRDP-ClientTargets.cmake (6068B)
1# Generated by CMake 2 3if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) 4 message(FATAL_ERROR "CMake >= 2.8.0 required") 5endif() 6if(CMAKE_VERSION VERSION_LESS "2.8.3") 7 message(FATAL_ERROR "CMake >= 2.8.3 required") 8endif() 9cmake_policy(PUSH) 10cmake_policy(VERSION 2.8.3...3.24) 11#---------------------------------------------------------------- 12# Generated CMake target import file. 13#---------------------------------------------------------------- 14 15# Commands may need to know the format version. 16set(CMAKE_IMPORT_FILE_VERSION 1) 17 18# Protect against multiple inclusion, which would fail when already imported targets are added once more. 19set(_cmake_targets_defined "") 20set(_cmake_targets_not_defined "") 21set(_cmake_expected_targets "") 22foreach(_cmake_expected_target IN ITEMS video-client serial-client rdpsnd-client-fake rdpgfx-client rdpei-client rdp2tcp-client parallel-client geometry-client echo-client drive-client disp-client audin-client ainput-client freerdp-client) 23 list(APPEND _cmake_expected_targets "${_cmake_expected_target}") 24 if(TARGET "${_cmake_expected_target}") 25 list(APPEND _cmake_targets_defined "${_cmake_expected_target}") 26 else() 27 list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") 28 endif() 29endforeach() 30unset(_cmake_expected_target) 31if(_cmake_targets_defined STREQUAL _cmake_expected_targets) 32 unset(_cmake_targets_defined) 33 unset(_cmake_targets_not_defined) 34 unset(_cmake_expected_targets) 35 unset(CMAKE_IMPORT_FILE_VERSION) 36 cmake_policy(POP) 37 return() 38endif() 39if(NOT _cmake_targets_defined STREQUAL "") 40 string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") 41 string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") 42 message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") 43endif() 44unset(_cmake_targets_defined) 45unset(_cmake_targets_not_defined) 46unset(_cmake_expected_targets) 47 48 49# Compute the installation prefix relative to this file. 50get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) 51get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) 52get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) 53get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) 54if(_IMPORT_PREFIX STREQUAL "/") 55 set(_IMPORT_PREFIX "") 56endif() 57 58# Create imported target video-client 59add_library(video-client SHARED IMPORTED) 60 61# Create imported target serial-client 62add_library(serial-client SHARED IMPORTED) 63 64# Create imported target rdpsnd-client-fake 65add_library(rdpsnd-client-fake SHARED IMPORTED) 66 67# Create imported target rdpgfx-client 68add_library(rdpgfx-client SHARED IMPORTED) 69 70# Create imported target rdpei-client 71add_library(rdpei-client SHARED IMPORTED) 72 73# Create imported target rdp2tcp-client 74add_library(rdp2tcp-client SHARED IMPORTED) 75 76# Create imported target parallel-client 77add_library(parallel-client SHARED IMPORTED) 78 79# Create imported target geometry-client 80add_library(geometry-client SHARED IMPORTED) 81 82# Create imported target echo-client 83add_library(echo-client SHARED IMPORTED) 84 85# Create imported target drive-client 86add_library(drive-client SHARED IMPORTED) 87 88# Create imported target disp-client 89add_library(disp-client SHARED IMPORTED) 90 91# Create imported target audin-client 92add_library(audin-client SHARED IMPORTED) 93 94# Create imported target ainput-client 95add_library(ainput-client SHARED IMPORTED) 96 97# Create imported target freerdp-client 98add_library(freerdp-client SHARED IMPORTED) 99 100set_target_properties(freerdp-client PROPERTIES 101 INTERFACE_LINK_LIBRARIES "winpr" 102) 103 104if(CMAKE_VERSION VERSION_LESS 2.8.12) 105 message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.") 106endif() 107 108# Load information for each installed configuration. 109file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/FreeRDP-ClientTargets-*.cmake") 110foreach(_cmake_config_file IN LISTS _cmake_config_files) 111 include("${_cmake_config_file}") 112endforeach() 113unset(_cmake_config_file) 114unset(_cmake_config_files) 115 116# Cleanup temporary variables. 117set(_IMPORT_PREFIX) 118 119# Loop over all imported files and verify that they actually exist 120foreach(_cmake_target IN LISTS _cmake_import_check_targets) 121 foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") 122 if(NOT EXISTS "${_cmake_file}") 123 message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file 124 \"${_cmake_file}\" 125but this file does not exist. Possible reasons include: 126* The file was deleted, renamed, or moved to another location. 127* An install or uninstall procedure did not complete successfully. 128* The installation package was faulty and contained 129 \"${CMAKE_CURRENT_LIST_FILE}\" 130but not all the files it references. 131") 132 endif() 133 endforeach() 134 unset(_cmake_file) 135 unset("_cmake_import_check_files_for_${_cmake_target}") 136endforeach() 137unset(_cmake_target) 138unset(_cmake_import_check_targets) 139 140# Make sure the targets which have been exported in some other 141# export set exist. 142unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) 143foreach(_target "winpr" "freerdp" ) 144 if(NOT TARGET "${_target}" ) 145 set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}") 146 endif() 147endforeach() 148 149if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) 150 if(CMAKE_FIND_PACKAGE_NAME) 151 set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE) 152 set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}") 153 else() 154 message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}") 155 endif() 156endif() 157unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) 158 159# Commands beyond this point should not need to know the version. 160set(CMAKE_IMPORT_FILE_VERSION) 161cmake_policy(POP)