jpayne@69: # Generated by CMake jpayne@69: jpayne@69: if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) jpayne@69: message(FATAL_ERROR "CMake >= 2.8.0 required") jpayne@69: endif() jpayne@69: if(CMAKE_VERSION VERSION_LESS "2.8.12") jpayne@69: message(FATAL_ERROR "CMake >= 2.8.12 required") jpayne@69: endif() jpayne@69: cmake_policy(PUSH) jpayne@69: cmake_policy(VERSION 2.8.12...3.28) jpayne@69: #---------------------------------------------------------------- jpayne@69: # Generated CMake target import file. jpayne@69: #---------------------------------------------------------------- jpayne@69: jpayne@69: # Commands may need to know the format version. jpayne@69: set(CMAKE_IMPORT_FILE_VERSION 1) jpayne@69: jpayne@69: # Protect against multiple inclusion, which would fail when already imported targets are added once more. jpayne@69: set(_cmake_targets_defined "") jpayne@69: set(_cmake_targets_not_defined "") jpayne@69: set(_cmake_expected_targets "") jpayne@69: foreach(_cmake_expected_target IN ITEMS expat::expat) jpayne@69: list(APPEND _cmake_expected_targets "${_cmake_expected_target}") jpayne@69: if(TARGET "${_cmake_expected_target}") jpayne@69: list(APPEND _cmake_targets_defined "${_cmake_expected_target}") jpayne@69: else() jpayne@69: list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") jpayne@69: endif() jpayne@69: endforeach() jpayne@69: unset(_cmake_expected_target) jpayne@69: if(_cmake_targets_defined STREQUAL _cmake_expected_targets) jpayne@69: unset(_cmake_targets_defined) jpayne@69: unset(_cmake_targets_not_defined) jpayne@69: unset(_cmake_expected_targets) jpayne@69: unset(CMAKE_IMPORT_FILE_VERSION) jpayne@69: cmake_policy(POP) jpayne@69: return() jpayne@69: endif() jpayne@69: if(NOT _cmake_targets_defined STREQUAL "") jpayne@69: string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") jpayne@69: string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") jpayne@69: 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") jpayne@69: endif() jpayne@69: unset(_cmake_targets_defined) jpayne@69: unset(_cmake_targets_not_defined) jpayne@69: unset(_cmake_expected_targets) jpayne@69: jpayne@69: jpayne@69: # Compute the installation prefix relative to this file. jpayne@69: get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) jpayne@69: get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) jpayne@69: get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) jpayne@69: get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) jpayne@69: if(_IMPORT_PREFIX STREQUAL "/") jpayne@69: set(_IMPORT_PREFIX "") jpayne@69: endif() jpayne@69: jpayne@69: # Create imported target expat::expat jpayne@69: add_library(expat::expat SHARED IMPORTED) jpayne@69: jpayne@69: set_target_properties(expat::expat PROPERTIES jpayne@69: INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" jpayne@69: INTERFACE_LINK_LIBRARIES "m" jpayne@69: ) jpayne@69: jpayne@69: # Load information for each installed configuration. jpayne@69: file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/expat-*.cmake") jpayne@69: foreach(_cmake_config_file IN LISTS _cmake_config_files) jpayne@69: include("${_cmake_config_file}") jpayne@69: endforeach() jpayne@69: unset(_cmake_config_file) jpayne@69: unset(_cmake_config_files) jpayne@69: jpayne@69: # Cleanup temporary variables. jpayne@69: set(_IMPORT_PREFIX) jpayne@69: jpayne@69: # Loop over all imported files and verify that they actually exist jpayne@69: foreach(_cmake_target IN LISTS _cmake_import_check_targets) jpayne@69: if(CMAKE_VERSION VERSION_LESS "3.28" jpayne@69: OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target} jpayne@69: OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}") jpayne@69: foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") jpayne@69: if(NOT EXISTS "${_cmake_file}") jpayne@69: message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file jpayne@69: \"${_cmake_file}\" jpayne@69: but this file does not exist. Possible reasons include: jpayne@69: * The file was deleted, renamed, or moved to another location. jpayne@69: * An install or uninstall procedure did not complete successfully. jpayne@69: * The installation package was faulty and contained jpayne@69: \"${CMAKE_CURRENT_LIST_FILE}\" jpayne@69: but not all the files it references. jpayne@69: ") jpayne@69: endif() jpayne@69: endforeach() jpayne@69: endif() jpayne@69: unset(_cmake_file) jpayne@69: unset("_cmake_import_check_files_for_${_cmake_target}") jpayne@69: endforeach() jpayne@69: unset(_cmake_target) jpayne@69: unset(_cmake_import_check_targets) jpayne@69: jpayne@69: # This file does not depend on other imported targets which have jpayne@69: # been exported from the same project but in a separate export set. jpayne@69: jpayne@69: # Commands beyond this point should not need to know the version. jpayne@69: set(CMAKE_IMPORT_FILE_VERSION) jpayne@69: cmake_policy(POP)