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