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