LibIcalTargets.cmake 4.1 KB

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