OpenCVModules.cmake 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. # Generated by CMake
  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 opencv_core opencv_flann opencv_imgproc opencv_ml opencv_photo opencv_dnn opencv_features2d opencv_imgcodecs opencv_videoio opencv_calib3d opencv_highgui opencv_objdetect opencv_stitching opencv_video opencv_gapi)
  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. # Create imported target opencv_core
  40. add_library(opencv_core SHARED IMPORTED)
  41. # Create imported target opencv_flann
  42. add_library(opencv_flann SHARED IMPORTED)
  43. set_target_properties(opencv_flann PROPERTIES
  44. INTERFACE_LINK_LIBRARIES "opencv_core;opencv_core"
  45. )
  46. # Create imported target opencv_imgproc
  47. add_library(opencv_imgproc SHARED IMPORTED)
  48. set_target_properties(opencv_imgproc PROPERTIES
  49. INTERFACE_LINK_LIBRARIES "opencv_core;opencv_core"
  50. )
  51. # Create imported target opencv_ml
  52. add_library(opencv_ml SHARED IMPORTED)
  53. set_target_properties(opencv_ml PROPERTIES
  54. INTERFACE_LINK_LIBRARIES "opencv_core;opencv_core"
  55. )
  56. # Create imported target opencv_photo
  57. add_library(opencv_photo SHARED IMPORTED)
  58. set_target_properties(opencv_photo PROPERTIES
  59. INTERFACE_LINK_LIBRARIES "opencv_core;opencv_imgproc;opencv_core;opencv_imgproc"
  60. )
  61. # Create imported target opencv_dnn
  62. add_library(opencv_dnn SHARED IMPORTED)
  63. set_target_properties(opencv_dnn PROPERTIES
  64. INTERFACE_LINK_LIBRARIES "opencv_core;opencv_imgproc;opencv_core;opencv_imgproc"
  65. )
  66. # Create imported target opencv_features2d
  67. add_library(opencv_features2d SHARED IMPORTED)
  68. set_target_properties(opencv_features2d PROPERTIES
  69. INTERFACE_LINK_LIBRARIES "opencv_core;opencv_flann;opencv_imgproc;opencv_core;opencv_flann;opencv_imgproc"
  70. )
  71. # Create imported target opencv_imgcodecs
  72. add_library(opencv_imgcodecs SHARED IMPORTED)
  73. set_target_properties(opencv_imgcodecs PROPERTIES
  74. INTERFACE_LINK_LIBRARIES "opencv_core;opencv_imgproc;opencv_core;opencv_imgproc"
  75. )
  76. # Create imported target opencv_videoio
  77. add_library(opencv_videoio SHARED IMPORTED)
  78. set_target_properties(opencv_videoio PROPERTIES
  79. INTERFACE_LINK_LIBRARIES "opencv_core;opencv_imgproc;opencv_imgcodecs;opencv_core;opencv_imgproc;opencv_imgcodecs"
  80. )
  81. # Create imported target opencv_calib3d
  82. add_library(opencv_calib3d SHARED IMPORTED)
  83. set_target_properties(opencv_calib3d PROPERTIES
  84. INTERFACE_LINK_LIBRARIES "opencv_core;opencv_flann;opencv_imgproc;opencv_features2d;opencv_core;opencv_flann;opencv_imgproc;opencv_features2d"
  85. )
  86. # Create imported target opencv_highgui
  87. add_library(opencv_highgui SHARED IMPORTED)
  88. set_target_properties(opencv_highgui PROPERTIES
  89. INTERFACE_LINK_LIBRARIES "opencv_core;opencv_imgproc;opencv_imgcodecs;opencv_videoio;opencv_core;opencv_imgproc;opencv_imgcodecs;opencv_videoio"
  90. )
  91. # Create imported target opencv_objdetect
  92. add_library(opencv_objdetect SHARED IMPORTED)
  93. set_target_properties(opencv_objdetect PROPERTIES
  94. INTERFACE_LINK_LIBRARIES "opencv_core;opencv_flann;opencv_imgproc;opencv_dnn;opencv_features2d;opencv_calib3d;opencv_core;opencv_flann;opencv_imgproc;opencv_dnn;opencv_features2d;opencv_calib3d"
  95. )
  96. # Create imported target opencv_stitching
  97. add_library(opencv_stitching SHARED IMPORTED)
  98. set_target_properties(opencv_stitching PROPERTIES
  99. INTERFACE_LINK_LIBRARIES "opencv_core;opencv_flann;opencv_imgproc;opencv_features2d;opencv_calib3d;opencv_core;opencv_flann;opencv_imgproc;opencv_features2d;opencv_calib3d"
  100. )
  101. # Create imported target opencv_video
  102. add_library(opencv_video SHARED IMPORTED)
  103. set_target_properties(opencv_video PROPERTIES
  104. INTERFACE_LINK_LIBRARIES "opencv_core;opencv_flann;opencv_imgproc;opencv_dnn;opencv_features2d;opencv_calib3d;opencv_core;opencv_flann;opencv_imgproc;opencv_dnn;opencv_features2d;opencv_calib3d"
  105. )
  106. # Create imported target opencv_gapi
  107. add_library(opencv_gapi SHARED IMPORTED)
  108. set_target_properties(opencv_gapi PROPERTIES
  109. INTERFACE_LINK_LIBRARIES "opencv_core;opencv_flann;opencv_imgproc;opencv_dnn;opencv_features2d;opencv_calib3d;opencv_video;opencv_core;opencv_flann;opencv_imgproc;opencv_dnn;opencv_features2d;opencv_calib3d;opencv_video"
  110. )
  111. # Import target "opencv_core" for configuration "Release"
  112. set_property(TARGET opencv_core APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  113. set_target_properties(opencv_core PROPERTIES
  114. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_core.so.4.8.0"
  115. IMPORTED_SONAME_RELEASE "libopencv_core.so.408"
  116. )
  117. # Import target "opencv_flann" for configuration "Release"
  118. set_property(TARGET opencv_flann APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  119. set_target_properties(opencv_flann PROPERTIES
  120. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_flann.so.4.8.0"
  121. IMPORTED_SONAME_RELEASE "libopencv_flann.so.408"
  122. )
  123. # Import target "opencv_imgproc" for configuration "Release"
  124. set_property(TARGET opencv_imgproc APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  125. set_target_properties(opencv_imgproc PROPERTIES
  126. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_imgproc.so.4.8.0"
  127. IMPORTED_SONAME_RELEASE "libopencv_imgproc.so.408"
  128. )
  129. # Import target "opencv_ml" for configuration "Release"
  130. set_property(TARGET opencv_ml APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  131. set_target_properties(opencv_ml PROPERTIES
  132. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_ml.so.4.8.0"
  133. IMPORTED_SONAME_RELEASE "libopencv_ml.so.408"
  134. )
  135. # Import target "opencv_photo" for configuration "Release"
  136. set_property(TARGET opencv_photo APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  137. set_target_properties(opencv_photo PROPERTIES
  138. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_photo.so.4.8.0"
  139. IMPORTED_SONAME_RELEASE "libopencv_photo.so.408"
  140. )
  141. # Import target "opencv_dnn" for configuration "Release"
  142. set_property(TARGET opencv_dnn APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  143. set_target_properties(opencv_dnn PROPERTIES
  144. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_dnn.so.4.8.0"
  145. IMPORTED_SONAME_RELEASE "libopencv_dnn.so.408"
  146. )
  147. # Import target "opencv_features2d" for configuration "Release"
  148. set_property(TARGET opencv_features2d APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  149. set_target_properties(opencv_features2d PROPERTIES
  150. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_features2d.so.4.8.0"
  151. IMPORTED_SONAME_RELEASE "libopencv_features2d.so.408"
  152. )
  153. # Import target "opencv_imgcodecs" for configuration "Release"
  154. set_property(TARGET opencv_imgcodecs APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  155. set_target_properties(opencv_imgcodecs PROPERTIES
  156. IMPORTED_LINK_DEPENDENT_LIBRARIES_RELEASE "openjp2"
  157. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_imgcodecs.so.4.8.0"
  158. IMPORTED_SONAME_RELEASE "libopencv_imgcodecs.so.408"
  159. )
  160. # Import target "opencv_videoio" for configuration "Release"
  161. set_property(TARGET opencv_videoio APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  162. set_target_properties(opencv_videoio PROPERTIES
  163. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_videoio.so.4.8.0"
  164. IMPORTED_SONAME_RELEASE "libopencv_videoio.so.408"
  165. )
  166. # Import target "opencv_calib3d" for configuration "Release"
  167. set_property(TARGET opencv_calib3d APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  168. set_target_properties(opencv_calib3d PROPERTIES
  169. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_calib3d.so.4.8.0"
  170. IMPORTED_SONAME_RELEASE "libopencv_calib3d.so.408"
  171. )
  172. # Import target "opencv_highgui" for configuration "Release"
  173. set_property(TARGET opencv_highgui APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  174. set_target_properties(opencv_highgui PROPERTIES
  175. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_highgui.so.4.8.0"
  176. IMPORTED_SONAME_RELEASE "libopencv_highgui.so.408"
  177. )
  178. # Import target "opencv_objdetect" for configuration "Release"
  179. set_property(TARGET opencv_objdetect APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  180. set_target_properties(opencv_objdetect PROPERTIES
  181. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_objdetect.so.4.8.0"
  182. IMPORTED_SONAME_RELEASE "libopencv_objdetect.so.408"
  183. )
  184. # Import target "opencv_stitching" for configuration "Release"
  185. set_property(TARGET opencv_stitching APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  186. set_target_properties(opencv_stitching PROPERTIES
  187. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_stitching.so.4.8.0"
  188. IMPORTED_SONAME_RELEASE "libopencv_stitching.so.408"
  189. )
  190. # Import target "opencv_video" for configuration "Release"
  191. set_property(TARGET opencv_video APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  192. set_target_properties(opencv_video PROPERTIES
  193. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_video.so.4.8.0"
  194. IMPORTED_SONAME_RELEASE "libopencv_video.so.408"
  195. )
  196. # Import target "opencv_gapi" for configuration "Release"
  197. set_property(TARGET opencv_gapi APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  198. set_target_properties(opencv_gapi PROPERTIES
  199. IMPORTED_LOCATION_RELEASE "/home/zx/env/opencv-4.8.0/build/lib/libopencv_gapi.so.4.8.0"
  200. IMPORTED_SONAME_RELEASE "libopencv_gapi.so.408"
  201. )
  202. # This file does not depend on other imported targets which have
  203. # been exported from the same project but in a separate export set.
  204. # Commands beyond this point should not need to know the version.
  205. set(CMAKE_IMPORT_FILE_VERSION)
  206. cmake_policy(POP)