Home | History | Annotate | Line # | Download | only in autotools
      1      1.1  christos # Generated by CMake
      2      1.1  christos 
      3  1.1.1.2       wiz if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
      4  1.1.1.2       wiz    message(FATAL_ERROR "CMake >= 2.8.12 required")
      5  1.1.1.2       wiz endif()
      6  1.1.1.2       wiz if(CMAKE_VERSION VERSION_LESS "2.8.12")
      7  1.1.1.2       wiz    message(FATAL_ERROR "CMake >= 2.8.12 required")
      8      1.1  christos endif()
      9      1.1  christos cmake_policy(PUSH)
     10  1.1.1.2       wiz cmake_policy(VERSION 2.8.12...3.29)
     11      1.1  christos #----------------------------------------------------------------
     12      1.1  christos # Generated CMake target import file.
     13      1.1  christos #----------------------------------------------------------------
     14      1.1  christos 
     15      1.1  christos # Commands may need to know the format version.
     16      1.1  christos set(CMAKE_IMPORT_FILE_VERSION 1)
     17      1.1  christos 
     18      1.1  christos # Protect against multiple inclusion, which would fail when already imported targets are added once more.
     19  1.1.1.2       wiz set(_cmake_targets_defined "")
     20  1.1.1.2       wiz set(_cmake_targets_not_defined "")
     21  1.1.1.2       wiz set(_cmake_expected_targets "")
     22  1.1.1.2       wiz foreach(_cmake_expected_target IN ITEMS expat::expat)
     23  1.1.1.2       wiz   list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
     24  1.1.1.2       wiz   if(TARGET "${_cmake_expected_target}")
     25  1.1.1.2       wiz     list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
     26  1.1.1.2       wiz   else()
     27  1.1.1.2       wiz     list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
     28      1.1  christos   endif()
     29      1.1  christos endforeach()
     30  1.1.1.2       wiz unset(_cmake_expected_target)
     31  1.1.1.2       wiz if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
     32  1.1.1.2       wiz   unset(_cmake_targets_defined)
     33  1.1.1.2       wiz   unset(_cmake_targets_not_defined)
     34  1.1.1.2       wiz   unset(_cmake_expected_targets)
     35  1.1.1.2       wiz   unset(CMAKE_IMPORT_FILE_VERSION)
     36      1.1  christos   cmake_policy(POP)
     37      1.1  christos   return()
     38      1.1  christos endif()
     39  1.1.1.2       wiz if(NOT _cmake_targets_defined STREQUAL "")
     40  1.1.1.2       wiz   string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
     41  1.1.1.2       wiz   string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
     42  1.1.1.2       wiz   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")
     43      1.1  christos endif()
     44  1.1.1.2       wiz unset(_cmake_targets_defined)
     45  1.1.1.2       wiz unset(_cmake_targets_not_defined)
     46  1.1.1.2       wiz unset(_cmake_expected_targets)
     47      1.1  christos 
     48      1.1  christos 
     49      1.1  christos # Compute the installation prefix relative to this file.
     50      1.1  christos get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
     51      1.1  christos get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
     52      1.1  christos get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
     53      1.1  christos get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
     54      1.1  christos if(_IMPORT_PREFIX STREQUAL "/")
     55      1.1  christos   set(_IMPORT_PREFIX "")
     56      1.1  christos endif()
     57      1.1  christos 
     58      1.1  christos # Create imported target expat::expat
     59      1.1  christos add_library(expat::expat SHARED IMPORTED)
     60      1.1  christos 
     61      1.1  christos set_target_properties(expat::expat PROPERTIES
     62      1.1  christos   INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
     63      1.1  christos   INTERFACE_LINK_LIBRARIES "m"
     64      1.1  christos )
     65      1.1  christos 
     66      1.1  christos # Load information for each installed configuration.
     67  1.1.1.2       wiz file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/expat-*.cmake")
     68  1.1.1.2       wiz foreach(_cmake_config_file IN LISTS _cmake_config_files)
     69  1.1.1.2       wiz   include("${_cmake_config_file}")
     70      1.1  christos endforeach()
     71  1.1.1.2       wiz unset(_cmake_config_file)
     72  1.1.1.2       wiz unset(_cmake_config_files)
     73      1.1  christos 
     74      1.1  christos # Cleanup temporary variables.
     75      1.1  christos set(_IMPORT_PREFIX)
     76      1.1  christos 
     77      1.1  christos # Loop over all imported files and verify that they actually exist
     78  1.1.1.2       wiz foreach(_cmake_target IN LISTS _cmake_import_check_targets)
     79  1.1.1.2       wiz   if(CMAKE_VERSION VERSION_LESS "3.28"
     80  1.1.1.2       wiz       OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
     81  1.1.1.2       wiz       OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
     82  1.1.1.2       wiz     foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
     83  1.1.1.2       wiz       if(NOT EXISTS "${_cmake_file}")
     84  1.1.1.2       wiz         message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
     85  1.1.1.2       wiz    \"${_cmake_file}\"
     86      1.1  christos but this file does not exist.  Possible reasons include:
     87      1.1  christos * The file was deleted, renamed, or moved to another location.
     88      1.1  christos * An install or uninstall procedure did not complete successfully.
     89      1.1  christos * The installation package was faulty and contained
     90      1.1  christos    \"${CMAKE_CURRENT_LIST_FILE}\"
     91      1.1  christos but not all the files it references.
     92      1.1  christos ")
     93  1.1.1.2       wiz       endif()
     94  1.1.1.2       wiz     endforeach()
     95  1.1.1.2       wiz   endif()
     96  1.1.1.2       wiz   unset(_cmake_file)
     97  1.1.1.2       wiz   unset("_cmake_import_check_files_for_${_cmake_target}")
     98      1.1  christos endforeach()
     99  1.1.1.2       wiz unset(_cmake_target)
    100  1.1.1.2       wiz unset(_cmake_import_check_targets)
    101      1.1  christos 
    102      1.1  christos # This file does not depend on other imported targets which have
    103      1.1  christos # been exported from the same project but in a separate export set.
    104      1.1  christos 
    105      1.1  christos # Commands beyond this point should not need to know the version.
    106      1.1  christos set(CMAKE_IMPORT_FILE_VERSION)
    107      1.1  christos cmake_policy(POP)
    108