comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/WebP/cmake/WebPTargets.cmake @ 68:5028fdace37b

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