1*ae9c10ebSchristos# Generated by CMake 2*ae9c10ebSchristos 3*ae9c10ebSchristosif("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6) 4*ae9c10ebSchristos message(FATAL_ERROR "CMake >= 2.6.0 required") 5*ae9c10ebSchristosendif() 6*ae9c10ebSchristoscmake_policy(PUSH) 7*ae9c10ebSchristoscmake_policy(VERSION 2.6...3.20) 8*ae9c10ebSchristos#---------------------------------------------------------------- 9*ae9c10ebSchristos# Generated CMake target import file. 10*ae9c10ebSchristos#---------------------------------------------------------------- 11*ae9c10ebSchristos 12*ae9c10ebSchristos# Commands may need to know the format version. 13*ae9c10ebSchristosset(CMAKE_IMPORT_FILE_VERSION 1) 14*ae9c10ebSchristos 15*ae9c10ebSchristos# Protect against multiple inclusion, which would fail when already imported targets are added once more. 16*ae9c10ebSchristosset(_targetsDefined) 17*ae9c10ebSchristosset(_targetsNotDefined) 18*ae9c10ebSchristosset(_expectedTargets) 19*ae9c10ebSchristosforeach(_expectedTarget expat::expat) 20*ae9c10ebSchristos list(APPEND _expectedTargets ${_expectedTarget}) 21*ae9c10ebSchristos if(NOT TARGET ${_expectedTarget}) 22*ae9c10ebSchristos list(APPEND _targetsNotDefined ${_expectedTarget}) 23*ae9c10ebSchristos endif() 24*ae9c10ebSchristos if(TARGET ${_expectedTarget}) 25*ae9c10ebSchristos list(APPEND _targetsDefined ${_expectedTarget}) 26*ae9c10ebSchristos endif() 27*ae9c10ebSchristosendforeach() 28*ae9c10ebSchristosif("${_targetsDefined}" STREQUAL "${_expectedTargets}") 29*ae9c10ebSchristos unset(_targetsDefined) 30*ae9c10ebSchristos unset(_targetsNotDefined) 31*ae9c10ebSchristos unset(_expectedTargets) 32*ae9c10ebSchristos set(CMAKE_IMPORT_FILE_VERSION) 33*ae9c10ebSchristos cmake_policy(POP) 34*ae9c10ebSchristos return() 35*ae9c10ebSchristosendif() 36*ae9c10ebSchristosif(NOT "${_targetsDefined}" STREQUAL "") 37*ae9c10ebSchristos message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n") 38*ae9c10ebSchristosendif() 39*ae9c10ebSchristosunset(_targetsDefined) 40*ae9c10ebSchristosunset(_targetsNotDefined) 41*ae9c10ebSchristosunset(_expectedTargets) 42*ae9c10ebSchristos 43*ae9c10ebSchristos 44*ae9c10ebSchristos# Compute the installation prefix relative to this file. 45*ae9c10ebSchristosget_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) 46*ae9c10ebSchristosget_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) 47*ae9c10ebSchristosget_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) 48*ae9c10ebSchristosget_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) 49*ae9c10ebSchristosif(_IMPORT_PREFIX STREQUAL "/") 50*ae9c10ebSchristos set(_IMPORT_PREFIX "") 51*ae9c10ebSchristosendif() 52*ae9c10ebSchristos 53*ae9c10ebSchristos# Create imported target expat::expat 54*ae9c10ebSchristosadd_library(expat::expat SHARED IMPORTED) 55*ae9c10ebSchristos 56*ae9c10ebSchristosset_target_properties(expat::expat PROPERTIES 57*ae9c10ebSchristos INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" 58*ae9c10ebSchristos INTERFACE_LINK_LIBRARIES "m" 59*ae9c10ebSchristos) 60*ae9c10ebSchristos 61*ae9c10ebSchristosif(CMAKE_VERSION VERSION_LESS 2.8.12) 62*ae9c10ebSchristos message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.") 63*ae9c10ebSchristosendif() 64*ae9c10ebSchristos 65*ae9c10ebSchristos# Load information for each installed configuration. 66*ae9c10ebSchristosget_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) 67*ae9c10ebSchristosfile(GLOB CONFIG_FILES "${_DIR}/expat-*.cmake") 68*ae9c10ebSchristosforeach(f ${CONFIG_FILES}) 69*ae9c10ebSchristos include(${f}) 70*ae9c10ebSchristosendforeach() 71*ae9c10ebSchristos 72*ae9c10ebSchristos# Cleanup temporary variables. 73*ae9c10ebSchristosset(_IMPORT_PREFIX) 74*ae9c10ebSchristos 75*ae9c10ebSchristos# Loop over all imported files and verify that they actually exist 76*ae9c10ebSchristosforeach(target ${_IMPORT_CHECK_TARGETS} ) 77*ae9c10ebSchristos foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} ) 78*ae9c10ebSchristos if(NOT EXISTS "${file}" ) 79*ae9c10ebSchristos message(FATAL_ERROR "The imported target \"${target}\" references the file 80*ae9c10ebSchristos \"${file}\" 81*ae9c10ebSchristosbut this file does not exist. Possible reasons include: 82*ae9c10ebSchristos* The file was deleted, renamed, or moved to another location. 83*ae9c10ebSchristos* An install or uninstall procedure did not complete successfully. 84*ae9c10ebSchristos* The installation package was faulty and contained 85*ae9c10ebSchristos \"${CMAKE_CURRENT_LIST_FILE}\" 86*ae9c10ebSchristosbut not all the files it references. 87*ae9c10ebSchristos") 88*ae9c10ebSchristos endif() 89*ae9c10ebSchristos endforeach() 90*ae9c10ebSchristos unset(_IMPORT_CHECK_FILES_FOR_${target}) 91*ae9c10ebSchristosendforeach() 92*ae9c10ebSchristosunset(_IMPORT_CHECK_TARGETS) 93*ae9c10ebSchristos 94*ae9c10ebSchristos# This file does not depend on other imported targets which have 95*ae9c10ebSchristos# been exported from the same project but in a separate export set. 96*ae9c10ebSchristos 97*ae9c10ebSchristos# Commands beyond this point should not need to know the version. 98*ae9c10ebSchristosset(CMAKE_IMPORT_FILE_VERSION) 99*ae9c10ebSchristoscmake_policy(POP) 100